Java9 has introduced a strong modularity similar to OSGI and Maven Dependecies.
Is there a maven plugin able to build the java 9 dependencies inspecting maven dependencies?
For example, from
<groupId>com.mycompany.app</groupId>
<artifactId>my-module</artifactId>
....
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>23.3-jre</version>
</dependency>
to
module my-module{
requires com.google.guava;
exports com.mycompany.app;
}
I have read this article, but it is not so useful - How to express dependency in maven on java ee features for transition to Java 9?