jdeps:jdkinternals

Full name:

org.apache.maven.plugins:maven-jdeps-plugin:3.0.0:jdkinternals

Description:

Check if main classes depend on internal JDK classes

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: process-classes.

Optional Parameters

Name Type Since Description
apiOnly boolean - Restrict analysis to APIs i.e. dependences from the signature of public and protected members of public classes including field type, method parameter types, returned type, checked exception types etc
Default value is: false.
User property is: jdeps.apionly.
dependenciesToAnalyzeExcludes List - Subset of AbstractJDepsMojo.dependenciesToAnalyzeIncludes which should be not analyzed. Specify as groupId:artifactId, allowing ant-pattern. E.g.
  <dependenciesToAnalyzeExcludes>
    <exclude>org.foo.*:*</exclude>
    <exclude>com.foo.bar:*</exclude>
    <exclude>dot.foo.bar:utilities</exclude>
  </dependenciesToAnalyzeExcludes>  

dependenciesToAnalyzeIncludes List - Additional dependencies which should be analyzed besides the classes. Specify as groupId:artifactId, allowing ant-pattern. E.g.
  <dependenciesToAnalyzeIncludes>
    <include>*:*</include>
    <include>org.foo.*:*</include>
    <include>com.foo.bar:*</include>
    <include>dot.foo.bar:utilities</include>
  </dependenciesToAnalyzeIncludes>  

dotOutput File - Destination directory for DOT file output
User property is: jdeps.dotOutput.
failOnWarning boolean - Indicates whether the build will continue even if there are jdeps warnings.
Default value is: true.
include String - Restrict analysis to classes matching pattern. This option filters the list of classes to be analyzed. It can be used together with -p and -e which apply pattern to the dependences
User property is: jdeps.include.
module boolean JDK 1.9.0 Show module containing the package
Default value is: false.
User property is: jdeps.module.
profile boolean - Show profile or the file containing a package
Default value is: false.
User property is: jdeps.profile.
recursive boolean - Recursively traverse all dependencies. The -R option implies -filter:none. If -p, -e, -f option is specified, only the matching dependences are analyzed.
Default value is: false.
User property is: jdeps.recursive.
verbose String -
package
Print package-level dependencies excluding dependencies within the same archive
class
Print class-level dependencies excluding dependencies within the same archive
<empty>
Print all class level dependencies. Equivalent to -verbose:class -filter:none.

User property is: jdeps.verbose.

Parameter Details

apiOnly:

Restrict analysis to APIs i.e. dependences from the signature of public and protected members of public classes including field type, method parameter types, returned type, checked exception types etc
  • Type: boolean
  • Required: No
  • User Property: jdeps.apionly
  • Default: false

dependenciesToAnalyzeExcludes:

Subset of AbstractJDepsMojo.dependenciesToAnalyzeIncludes which should be not analyzed. Specify as groupId:artifactId, allowing ant-pattern. E.g.
  <dependenciesToAnalyzeExcludes>
    <exclude>org.foo.*:*</exclude>
    <exclude>com.foo.bar:*</exclude>
    <exclude>dot.foo.bar:utilities</exclude>
  </dependenciesToAnalyzeExcludes>  
  • Type: java.util.List
  • Required: No

dependenciesToAnalyzeIncludes:

Additional dependencies which should be analyzed besides the classes. Specify as groupId:artifactId, allowing ant-pattern. E.g.
  <dependenciesToAnalyzeIncludes>
    <include>*:*</include>
    <include>org.foo.*:*</include>
    <include>com.foo.bar:*</include>
    <include>dot.foo.bar:utilities</include>
  </dependenciesToAnalyzeIncludes>  
  • Type: java.util.List
  • Required: No

dotOutput:

Destination directory for DOT file output
  • Type: java.io.File
  • Required: No
  • User Property: jdeps.dotOutput

failOnWarning:

Indicates whether the build will continue even if there are jdeps warnings.
  • Type: boolean
  • Required: No
  • Default: true

include:

Restrict analysis to classes matching pattern. This option filters the list of classes to be analyzed. It can be used together with -p and -e which apply pattern to the dependences
  • Type: java.lang.String
  • Required: No
  • User Property: jdeps.include

module:

Show module containing the package
  • Type: boolean
  • Since: JDK 1.9.0
  • Required: No
  • User Property: jdeps.module
  • Default: false

profile:

Show profile or the file containing a package
  • Type: boolean
  • Required: No
  • User Property: jdeps.profile
  • Default: false

recursive:

Recursively traverse all dependencies. The -R option implies -filter:none. If -p, -e, -f option is specified, only the matching dependences are analyzed.
  • Type: boolean
  • Required: No
  • User Property: jdeps.recursive
  • Default: false

verbose:

package
Print package-level dependencies excluding dependencies within the same archive
class
Print class-level dependencies excluding dependencies within the same archive
<empty>
Print all class level dependencies. Equivalent to -verbose:class -filter:none.
  • Type: java.lang.String
  • Required: No
  • User Property: jdeps.verbose