@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 ResolveDependenciesMojo
except for using the requiresDependencyCollection annotation
attribute instead of requiresDependencyResolution.
outputScope
appendOutput, excludeReactor, ignorePermissions, outputFile, useJvmChmod
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
outputAbsoluteArtifactFilename, reactorProjects, session
Constructor and Description |
---|
CollectDependenciesMojo() |
doExecute, getMarkedArtifactFilter, getOutput, getResults
getPluginArtifactsFilter, resolveArtifactDependencies
filterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupId
copyFile, execute, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpack
getLog, getPluginContext, setLog, setPluginContext
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.