FAQ
- What parameters should be used to build a modular application?
- What parameters should be used to build a non modular application?
- Can I not use the project artifacts at all?
- How to exclude automatic modules?
What parameters should be used to build a modular application?
To create modular application use following parameters:
<modulepath> ... </modulepath>
<addmodules> ... </addmodules>
<module> ... </module>
What parameters should be used to build a non modular application?
To create non-modular application use following parameters:
<input> ... </input>
<mainjar> ... </mainjar>
<mainclass> ... </mainclass>
Can I not use the project artifacts at all?
To exclude the project output from modulepath:
<modulepath>
<dependencysets>
<dependencyset>
<includeoutput>false</includeoutput>
</dependencyset>
</dependencysets>
</modulepath>
How to exclude automatic modules?
To exclude automatic modules from modulepath (but it's a default behavior):
<modulepath>
<dependencysets>
<dependencyset>
<excludeautomatic>true</excludeautomatic>
</dependencyset>
</dependencysets>
</modulepath>