@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, outputFile, useJvmChmodclassifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, typeoutputAbsoluteArtifactFilename, reactorProjects, session| Constructor and Description |
|---|
ResolveDependenciesMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Main entry into mojo.
|
protected org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter |
getMarkedArtifactFilter()
Return an
ArtifactsFilter indicating which artifacts must be filtered out. |
String |
getOutput(boolean outputAbsoluteArtifactFilename,
boolean theOutputScope,
boolean theSort) |
DependencyStatusSets |
getResults() |
getArtifactsFilter, resolveArtifactDependenciesfilterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupIdcopyFile, execute, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpackgetLog, getPluginContext, setLog, setPluginContext@Parameter(property="mdep.outputScope", defaultValue="true") protected boolean outputScope
protected void doExecute()
throws MojoExecutionException
doExecute in class AbstractDependencyMojoMojoExecutionException - with a message if an error occurspublic DependencyStatusSets getResults()
protected org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter getMarkedArtifactFilter()
AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.getMarkedArtifactFilter in class AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.public String getOutput(boolean outputAbsoluteArtifactFilename, boolean theOutputScope, boolean theSort)
outputAbsoluteArtifactFilename - absolute artifact filenametheOutputScope - the output scopetheSort - sort yes/noCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.