jdk9-jlink-jmod-example
jdk9-jlink-jmod-example copied to clipboard
Example for using maven-jmod-plugin / maven-jlink-plugin
In directory jdk9-jlink-jmod-example/maven-example the command line 'mvn clean' results in the error: > [ERROR] Unresolveable build extension: Plugin org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT or one of its dependencies could not be resolved: Could not...
This is a very unexpected behaviour, I was trying to use your example without your parent and found out that if the jacoco plugin is not present, jlink doesn't work....
maven module with `jmod` should produce usual jar as well, so it can be used as usually in other maven modules. See #3 Currently there is no jar in output...
How to use one jmod in another, your example does not reuse modules between them.