Fork me on GitHub

FAQ

What parameters should be used to build a modular application?

To create modular application use following parameters:

  1. <modulepath> ... </modulepath>
  2. <addmodules> ... </addmodules>
  3. <module> ... </module>

What parameters should be used to build a non modular application?

To create non-modular application use following parameters:

  1. <input> ... </input>
  2. <mainjar> ... </mainjar>
  3. <mainclass> ... </mainclass>

Can I not use the project artifacts at all?

To exclude the project output from modulepath:

  1. <modulepath>
  2. <dependencysets>
  3. <dependencyset>
  4. <includeoutput>false</includeoutput>
  5. </dependencyset>
  6. </dependencysets>
  7. </modulepath>

How to exclude automatic modules?

To exclude automatic modules from modulepath (but it's a default behavior):

  1. <modulepath>
  2. <dependencysets>
  3. <dependencyset>
  4. <excludeautomatic>true</excludeautomatic>
  5. </dependencyset>
  6. </dependencysets>
  7. </modulepath>