Full name:
org.apache.maven.plugins:maven-dependency-plugin:2.6:analyze
Description:
By default, maven-dependency-analyzer is used to perform the analysis, with limitations due to the fact that it works at bytecode level, but any analyzer can be plugged in through analyzer parameter.
Attributes:
Name | Type | Since | Description |
---|---|---|---|
analyzer | String | 2.2 | Specify the project dependency analyzer to use (plexus component
role-hint). By default, maven-dependency-analyzer
is used. To use this, you must declare a dependency for this plugin
that contains the code for the analyzer. The analyzer must have a
declared Plexus role name, and you specify the role name here. Default value is: default. User property is: analyzer. |
failOnWarning | boolean | 2.0-alpha-3 | Whether to fail the build if a dependency warning is found. Default value is: false. User property is: failOnWarning. |
ignoreNonCompile | boolean | 2.0-alpha-3 | Ignore Runtime/Provided/Test/System scopes for unused dependency
analysis. Default value is: false. User property is: ignoreNonCompile. |
outputXML | boolean | 2.0-alpha-5 | Output the xml for the missing dependencies (used but not
declared). Default value is: false. User property is: outputXML. |
scriptableFlag | String | 2.0-alpha-5 | Flag to use for scriptable output. Default value is: $$$%%%. User property is: scriptableFlag. |
scriptableOutput | boolean | 2.0-alpha-5 | Output scriptable values for the missing dependencies (used but not
declared). Default value is: false. User property is: scriptableOutput. |
usedDependencies | String[] | 2.6 | Force dependencies as used, to override incomplete result caused by
bytecode-level analysis. Dependency format is
groupId:artifactId. |
verbose | boolean | 2.0-alpha-3 | Output used dependencies. Default value is: false. User property is: verbose. |