Questions tagged [maven-jdeps-plugin]

Maven Jdeps Plugin is a plugin provided by Maven to intend to implement the dependency analysis provided by Java Jdeps. This tag might be coupled with Jdeps for the same reason.

The Maven JDeps Plugin uses the jdeps tool to analyze classes for internal API calls as stated in the Java Dependency Analysis Tool.

Note: The jdeps tool is available since JDK8.

The JDeps Plugin has 2 goals:

  • jdeps:jdkinternals checks if main classes depend on internal JDK classes.

  • jdeps:test-jdkinternals checks if test classes depend on internal JDK classes.

3 questions
8
votes
3 answers

Error: log4j-api-2.9.0.jar is a multi-release jar file but --multi-release option is not set

Exploring the maven-jdeps-plugin:3.1.0 with Java9 using the following minimal pom.xml:- org.apache.logging.log4j log4j-api 2.9.0
Naman
  • 27,789
  • 26
  • 218
  • 353
3
votes
1 answer

setup maven for jdk10

[INFO] Scanning for projects... [INFO] --------------------------------------------------------------- [INFO] Reactor Build Order: [INFO] [INFO] test.master [INFO] test.generator [INFO] test.model [INFO] test.dal [INFO] test.service [INFO]…
Cora.Kn.Kwok
  • 71
  • 1
  • 1
  • 6
3
votes
1 answer

Error: unknown option: -M while using module option of maven-jdeps-plugin

I found the module attribute on the official documentation of the maven-jdeps-plugin which states that Show module containing the package Type: boolean Since: JDK 1.9.0 Required: No User Property: jdeps.module Default: false Trying to make…
Naman
  • 27,789
  • 26
  • 218
  • 353