@Mojo(name="resolve-plugins", defaultPhase=GENERATE_SOURCES, threadSafe=true) public class ResolvePluginsMojo extends AbstractResolveMojo
appendOutput, excludeReactor, ignorePermissions, mavenProjectBuilder, outputFile, useJvmChmodclassifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, typearchiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent| Constructor and Description |
|---|
ResolvePluginsMojo() |
| 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. |
protected Set<Artifact> |
resolvePluginArtifacts()
This method resolves the plugin artifacts from the project.
|
getPluginArtifactsFilter, resolveArtifactDependencies, resolveDependencyArtifactsfilterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getDependencySets, getMarkersDirectory, getResolvedDependencies, isPrependGroupId, setMarkersDirectory, setPrependGroupIdcopyFile, execute, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, isSkip, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setSkip, setUseJvmChmod, unpack, unpackgetPluginContext, setLog, setPluginContextprotected void doExecute()
throws MojoExecutionException
doExecute in class AbstractDependencyMojoMojoExecutionException - with a message if an error occurs.protected Set<Artifact> resolvePluginArtifacts() throws ArtifactResolutionException, ArtifactNotFoundException, ArtifactFilterException
ArtifactResolutionExceptionArtifactNotFoundExceptionArtifactFilterExceptionprotected ArtifactsFilter getMarkedArtifactFilter()
AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.getMarkedArtifactFilter in class AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.