Full name:
org.apache.maven.plugins:maven-dependency-plugin:3.0.2:collect
Description:
Goal that collects the project dependencies from the repository. This goal requires Maven 3.0 or higher to function because it uses "requiresDependencyCollection". This means that it lists the groupId:artifactId:version information by downloading the pom files without downloading the actual artifacts such as jar files.
This is very useful when full dependency resolution might fail due to projects which haven't been built yet.
It is identical to ResolveDependenciesMojo except for using the requiresDependencyCollection annotation attribute instead of requiresDependencyResolution.
Attributes:
Name | Type | Since | Description |
---|---|---|---|
appendOutput | boolean | 2.2 | Whether to append outputs into the output file or overwrite it. Default value is: false. User property is: appendOutput. |
classifier | String | 2.0 | Specify classifier to look for. Example: sources User property is: classifier. |
excludeArtifactIds | String | 2.0 | Comma separated list of Artifact names to exclude. User property is: excludeArtifactIds. |
excludeClassifiers | String | 2.0 | Comma Separated list of Classifiers to exclude. Empty String
indicates don't exclude anything (default). User property is: excludeClassifiers. |
excludeGroupIds | String | 2.0 | Comma separated list of GroupId Names to exclude. User property is: excludeGroupIds. |
excludeReactor | boolean | 2.7 | Don't resolve plugins that are in the current reactor. Only works
for plugins at the moment. Default value is: true. User property is: excludeReactor. |
excludeScope | String | 2.0 | Scope to exclude. An Empty string indicates no scopes (default). User property is: excludeScope. |
excludeTransitive | boolean | 2.0 | If we should exclude transitive dependencies Default value is: false. User property is: excludeTransitive. |
excludeTypes | String | 2.0 | Comma Separated list of Types to exclude. Empty String indicates
don't exclude anything (default). User property is: excludeTypes. |
ignorePermissions | boolean | 3.0 | not used in this goal |
includeArtifactIds | String | 2.0 | Comma separated list of Artifact names to include. Empty String
indicates include everything (default). User property is: includeArtifactIds. |
includeClassifiers | String | 2.0 | Comma Separated list of Classifiers to include. Empty String
indicates include everything (default). User property is: includeClassifiers. |
includeGroupIds | String | 2.0 | Comma separated list of GroupIds to include. Empty String indicates
include everything (default). User property is: includeGroupIds. |
includeParents | boolean | 2.8 | Include parent poms in the dependency resolution list. Default value is: false. User property is: includeParents. |
includeScope | String | 2.0 | Scope to include. An Empty string indicates all scopes (default).
The scopes being interpreted are the scopes as Maven sees them, not
as specified in the pom. In summary:
User property is: includeScope. |
includeTypes | String | 2.0 | Comma Separated list of Types to include. Empty String indicates
include everything (default). User property is: includeTypes. |
markersDirectory | File | 2.0 | Directory to store flag files Default value is: ${project.build.directory}/dependency-maven-plugin-markers. User property is: markersDirectory. |
outputAbsoluteArtifactFilename | boolean | 2.0 | Output absolute filename for resolved artifacts Default value is: false. User property is: outputAbsoluteArtifactFilename. |
outputFile | File | 2.0 | If specified, this parameter will cause the dependencies to be
written to the path specified, instead of writing to the console. User property is: outputFile. |
outputScope | boolean | 2.0-alpha-2 | If we should display the scope when resolving Default value is: true. User property is: mdep.outputScope. |
overWriteIfNewer | boolean | 2.0 | Overwrite artifacts that don't exist or are older than the source. Default value is: true. User property is: overWriteIfNewer. |
overWriteReleases | boolean | 1.0 | Overwrite release artifacts Default value is: false. User property is: overWriteReleases. |
overWriteSnapshots | boolean | 1.0 | Overwrite snapshot artifacts Default value is: false. User property is: overWriteSnapshots. |
prependGroupId | boolean | 2.2 | Prepend the groupId during copy. Default value is: false. User property is: mdep.prependGroupId. |
silent | boolean | 2.0 | If the plugin should be silent. Default value is: false. User property is: silent. |
skip | boolean | 2.7 | Skip plugin execution completely. Default value is: false. User property is: mdep.skip. |
sort | boolean | 2.8 | Sort the output list of resolved artifacts alphabetically. The
default ordering matches the classpath order. Default value is: false. User property is: sort. |
type | String | 2.0 | Specify type to look for when constructing artifact based on
classifier. Example: java-source,jar,war User property is: type. |
useJvmChmod | boolean | 3.0 | not used in this goal |
outputAbsoluteArtifactFilename:
skip:
sort:
type: