August 2017
Beginner
298 pages
7h 26m
English
When you bring Java 9 modules into the picture, you can see that there are two parallel concepts of modules here: the Maven concept of an artifact with the definition in pom.xml and the Java platform concept of a module with the module definition in module-info.java. However, these two work surprisingly well when you collapse the two and have each Maven project containing one Java 9 module.
Consider the following folder structure of a single Maven project. The code is in the lib folder. It is a typical Maven project. It has a pom.xml descriptor that contains the Maven coordinates for this artifact. However, it also has the module-info.java in the src/main/java folder that sets it up as a Java 9 module!
With ...
Read now
Unlock full access