@Mojo(name="collect", requiresDependencyCollection=TEST, defaultPhase=GENERATE_SOURCES, threadSafe=true) public class CollectDependenciesMojo extends ResolveDependenciesMojo
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 resolve except for using the requiresDependencyCollection annotation attribute instead of requiresDependencyResolution.
outputScope
appendOutput, excludeReactor, outputFile
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
reactorProjects, session
Constructor and Description |
---|
CollectDependenciesMojo() |
doExecute, getMarkedArtifactFilter, getOutput, getResults
filterMarkedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, getResolverUtil, isPrependGroupId, setMarkersDirectory, setPrependGroupId
execute, getProject, isSilent, isSkip, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setSilent, setSkip
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.