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 org.apache.maven.project.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.
|
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
archiverManager, artifactCollector, artifactMetadataSource, factory, ignorePermissions, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent, useJvmChmod
Constructor and Description |
---|
AbstractResolveMojo() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts |
getPluginArtifactsFilter() |
protected Set<org.apache.maven.artifact.Artifact> |
resolveArtifactDependencies(org.apache.maven.artifact.Artifact artifact)
This method resolves all transitive dependencies of an artifact.
|
protected Set<org.apache.maven.artifact.Artifact> |
resolveDependencyArtifacts(org.apache.maven.project.MavenProject theProject) |
filterMarkedDependencies, getClassifierTranslatedDependencies, 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
@Component protected org.apache.maven.project.MavenProjectBuilder mavenProjectBuilder
@Parameter(property="outputFile") protected File outputFile
@Parameter(property="appendOutput", defaultValue="false") protected boolean appendOutput
@Parameter(property="excludeReactor", defaultValue="true") protected boolean excludeReactor
protected org.apache.maven.shared.artifact.filter.collection.FilterArtifacts getPluginArtifactsFilter()
protected Set<org.apache.maven.artifact.Artifact> resolveDependencyArtifacts(org.apache.maven.project.MavenProject theProject) throws org.apache.maven.artifact.resolver.ArtifactResolutionException, org.apache.maven.artifact.resolver.ArtifactNotFoundException, org.apache.maven.project.artifact.InvalidDependencyVersionException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.project.artifact.InvalidDependencyVersionException
protected Set<org.apache.maven.artifact.Artifact> resolveArtifactDependencies(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.artifact.resolver.ArtifactResolutionException, org.apache.maven.artifact.resolver.ArtifactNotFoundException, org.apache.maven.project.ProjectBuildingException, org.apache.maven.project.artifact.InvalidDependencyVersionException
artifact
- the artifact used to retrieve dependenciesorg.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.project.ProjectBuildingException
org.apache.maven.project.artifact.InvalidDependencyVersionException
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.