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 will cause the dependencies to be written to the path specified, instead of writing
to the console.
|
protected boolean |
useJvmChmod
not used in this goal
|
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 FilterArtifacts |
getPluginArtifactsFilter() |
protected Set<Artifact> |
resolveArtifactDependencies(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, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpack
getLog, getPluginContext, setLog, setPluginContext
@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 useJvmChmod
@Parameter protected boolean ignorePermissions
protected FilterArtifacts getPluginArtifactsFilter()
FilterArtifacts
protected Set<Artifact> resolveArtifactDependencies(DependableCoordinate artifact) throws DependencyResolverException
artifact
- the artifact used to retrieve dependenciesDependencyResolverException
- in case of error while resolving artifacts.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.