Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
3.1.2
-
None
-
MacOS 10.13, maven 3.6.3
-
Important
Description
In my pom.xml I used the following plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jdeps-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<module>de.powerstat.phplib.templateengine</module>
<multiRelease>11</multiRelease>
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
and calling it with mvn jdeps:jdkinternals
Because I am using jdk9 modules, I always got an error message - because of MJDEPS-19/20. During this error message the jdeps commandline will be written as:
[ERROR] Command line was: /bin/sh -c '/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home/bin/jdeps' '-cp' '/Users/powerstat/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.0/log4j-api-2.14.0.jar:/Users/powerstat/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.0/log4j-core-2.14.0.jar' '/Users/powerstat/Documents/dev/TemplateEngine/target/classes'
What I am missing here are two things:
1) --jdk-internals, because I called the plugin with jdeps:jdkinternals!
2) --multi-release 11, as given by my plugin configuration!
So it would be nice to fix these 3 things (MJDEPS-19/20 included).
For testing you could use my project on github: https://github.com/PowerStat/TemplateEngine