@Mojo(name="resolve", requiresDependencyResolution=TEST, defaultPhase=GENERATE_SOURCES, threadSafe=true) public class ResolveDependenciesMojo extends AbstractResolveMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
outputScope
If we should display the scope when resolving
|
appendOutput, excludeReactor, ignorePermissions, mavenProjectBuilder, outputFile, useJvmChmod
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 |
---|
ResolveDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute()
Main entry into mojo.
|
protected ArtifactsFilter |
getMarkedArtifactFilter()
Return an
ArtifactsFilter indicating which artifacts must be filtered out. |
DependencyStatusSets |
getResults() |
getPluginArtifactsFilter, resolveArtifactDependencies, resolveDependencyArtifacts
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getDependencySets, getMarkersDirectory, getResolvedDependencies, isPrependGroupId, setMarkersDirectory, setPrependGroupId
copyFile, 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
@Parameter(property="mdep.outputScope", defaultValue="true") protected boolean outputScope
protected void doExecute() throws MojoExecutionException
doExecute
in class AbstractDependencyMojo
MojoExecutionException
- with a message if an error occurs.public DependencyStatusSets getResults()
protected ArtifactsFilter getMarkedArtifactFilter()
AbstractDependencyFilterMojo
ArtifactsFilter
indicating which artifacts must be filtered out.getMarkedArtifactFilter
in class AbstractDependencyFilterMojo
ArtifactsFilter
indicating which artifacts must be filtered out.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.