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 MavenProjectBuilder |
mavenProjectBuilder
Project builder -- builds a model from a pom.xml
|
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
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent
Constructor and Description |
---|
AbstractResolveMojo() |
Modifier and Type | Method and Description |
---|---|
protected FilterArtifacts |
getPluginArtifactsFilter() |
protected Set<Artifact> |
resolveArtifactDependencies(Artifact artifact)
This method resolves all transitive dependencies of an artifact.
|
protected Set<Artifact> |
resolveDependencyArtifacts(MavenProject theProject) |
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getDependencySets, getMarkedArtifactFilter, getMarkersDirectory, getResolvedDependencies, isPrependGroupId, setMarkersDirectory, setPrependGroupId
copyFile, doExecute, execute, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, isSkip, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setSkip, setUseJvmChmod, unpack, unpack
getPluginContext, setLog, setPluginContext
@Component protected MavenProjectBuilder mavenProjectBuilder
@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()
protected Set<Artifact> resolveDependencyArtifacts(MavenProject theProject) throws ArtifactResolutionException, ArtifactNotFoundException, InvalidDependencyVersionException
protected Set<Artifact> resolveArtifactDependencies(Artifact artifact) throws ArtifactResolutionException, ArtifactNotFoundException, ProjectBuildingException, InvalidDependencyVersionException
artifact
- the artifact used to retrieve dependenciesArtifactResolutionException
ArtifactNotFoundException
ProjectBuildingException
InvalidDependencyVersionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.