public abstract class AbstractResolveMojo extends AbstractDependencyFilterMojo
Modifier and Type | Field and 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 boolean |
ignorePermissions
not used in this goal
|
protected File |
outputFile
If specified, this parameter causes the dependencies to be written to the path specified instead of
the console.
|
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
outputAbsoluteArtifactFilename, reactorProjects, session
Constructor and Description |
---|
AbstractResolveMojo() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts |
getArtifactsFilter() |
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.
|
filterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkedArtifactFilter, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupId
copyFile, doExecute, execute, getProject, isSilent, isSkip, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setSilent, setSkip
@Parameter(property="outputFile") protected File outputFile
@Parameter(property="appendOutput", defaultValue="false") protected boolean appendOutput
@Parameter(property="excludeReactor", defaultValue="true") protected boolean excludeReactor
@Parameter protected boolean ignorePermissions
protected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts getArtifactsFilter()
FilterArtifacts
protected Set<org.apache.maven.artifact.Artifact> resolveArtifactDependencies(org.apache.maven.shared.transfer.dependencies.DependableCoordinate artifact) throws org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
artifact
- the artifact used to retrieve dependenciesorg.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
- in case of error while resolving artifacts.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.