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
public abstract class AbstractResolveMojo extends AbstractDependencyFilterMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
appendOutput
Whether to append outputs into the output file or overwrite it.protected boolean
excludeReactor
Don't resolve plugins that are in the current reactor.protected java.io.File
outputFile
If specified, this parameter causes the dependencies to be written to the path specified instead of the console.-
Fields 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
reactorProjects, session
-
-
Constructor Summary
Constructors Constructor Description AbstractResolveMojo()
-
Method Summary
-
Methods inherited from class org.apache.maven.plugins.dependency.fromDependencies.AbstractDependencyFilterMojo
filterMarkedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkedArtifactFilter, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, getResolverUtil, isPrependGroupId, setMarkersDirectory, setPrependGroupId
-
Methods inherited from class org.apache.maven.plugins.dependency.AbstractDependencyMojo
doExecute, execute, getProject, isSilent, isSkip, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setSilent, setSkip
-
-
-
-
Field Detail
-
outputFile
@Parameter(property="outputFile") protected java.io.File 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 appendOutput
Whether to append outputs into the output file or overwrite it.- Since:
- 2.2
-
excludeReactor
@Parameter(property="excludeReactor", defaultValue="true") protected boolean excludeReactor
Don't resolve plugins that are in the current reactor.- Since:
- 2.7
-
-