Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Resolved
-
1.0
-
None
Description
Problem
- For JDK9+ each component/artifact should have a valid Module name for the Java Module system.
- It is not necessarily to have a module-info.java (only for JDK9+ possible) file within the build but at least defining an Automatic-Module-Name manifest entry.
like this:<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive combine.children="append"> <manifestEntries> <Automatic-Module-Name>org.apache.commons.numbers.XXXX</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin>
Attachments
Issue Links
- links to