dependency:properties
Full name:
org.apache.maven.plugins:maven-dependency-plugin:3.11.0:properties
Description:
Goal that sets a property pointing to the artifact file for each project dependency. For each dependency (direct and transitive) a project property will be set which follows the groupId:artifactId:type:[classifier] form and contains the path to the resolved artifact.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
test. - The goal is thread-safe and supports parallel builds.
- Since version:
2.2. - Binds by default to the lifecycle phase:
initialize.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<extraArtifacts> |
List<ParamArtifact> |
3.11.0 |
Extra artifacts that can be provided to the plugin. For each artifact in this list a property will be set similar to the project artifacts discovered. This allows callers to supply additional resolved dependencies for which properties pointing to the artifact file shall be created. Example usage in plugin configuration:
<extraArtifacts>
<extraArtifact>
<artifact>org.example:my-artifact:jar:1.0</artifact>
</extraArtifact>
<extraArtifact>
<groupId>org.example</groupId>
<artifactId>my-artifact</artifactId>
<version>1.0</version>
</extraArtifact>
</extraArtifacts>
|
<skip> |
boolean |
2.7 |
Skip plugin execution completely. Default: falseUser Property: mdep.skip |
Parameter Details
<extraArtifacts>
Extra artifacts that can be provided to the plugin. For each artifact in this list a property will be set similar to the project artifacts discovered. This allows callers to supply additional resolved dependencies for which properties pointing to the artifact file shall be created. Example usage in plugin configuration:
<extraArtifacts>
<extraArtifact>
<artifact>org.example:my-artifact:jar:1.0</artifact>
</extraArtifact>
<extraArtifact>
<groupId>org.example</groupId>
<artifactId>my-artifact</artifactId>
<version>1.0</version>
</extraArtifact>
</extraArtifacts>
- Type:
java.util.List<org.apache.maven.plugins.dependency.utils.ParamArtifact> - Since:
3.11.0 - Required:
No
<skip>
Skip plugin execution completely.
- Type:
boolean - Since:
2.7 - Required:
No - User Property:
mdep.skip - Default:
false

