Class AbstractResolveMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.dependency.AbstractDependencyMojo
org.apache.maven.plugins.dependency.fromDependencies.AbstractDependencyFilterMojo
org.apache.maven.plugins.dependency.resolvers.AbstractResolveMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
GoOfflineMojo
,ResolveDependenciesMojo
,ResolvePluginsMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Whether to append outputs into the output file or overwrite it.protected boolean
Don't resolve plugins that are in the current reactor.protected boolean
not used in this goalprotected File
If specified, this parameter causes the dependencies to be written to the path specified instead of the console.protected boolean
not used in this goalFields inherited from class org.apache.maven.plugins.dependency.fromDependencies.AbstractDependencyFilterMojo
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
Fields inherited from class org.apache.maven.plugins.dependency.AbstractDependencyMojo
outputAbsoluteArtifactFilename, reactorProjects, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts
protected Set<org.apache.maven.artifact.Artifact>
resolveArtifactDependencies
(org.apache.maven.shared.transfer.dependencies.DependableCoordinate artifact) This method resolves all transitive dependencies of an artifact.Methods inherited from class org.apache.maven.plugins.dependency.fromDependencies.AbstractDependencyFilterMojo
filterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkedArtifactFilter, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupId
Methods inherited from class org.apache.maven.plugins.dependency.AbstractDependencyMojo
copyFile, doExecute, execute, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpack
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
outputFile
If specified, this parameter causes the dependencies to be written to the path specified instead of the console.- Since:
- 2.0
-
appendOutput
@Parameter(property="appendOutput", defaultValue="false") protected boolean appendOutputWhether to append outputs into the output file or overwrite it.- Since:
- 2.2
-
excludeReactor
@Parameter(property="excludeReactor", defaultValue="true") protected boolean excludeReactorDon't resolve plugins that are in the current reactor.- Since:
- 2.7
-
useJvmChmod
@Parameter protected boolean useJvmChmodnot used in this goal -
ignorePermissions
@Parameter protected boolean ignorePermissionsnot used in this goal
-
-
Constructor Details
-
AbstractResolveMojo
public AbstractResolveMojo()
-
-
Method Details
-
getArtifactsFilter
protected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts getArtifactsFilter()- Returns:
FilterArtifacts
-