@Mojo(name="resolve-plugins", defaultPhase=GENERATE_SOURCES, threadSafe=true) public class ResolvePluginsMojo extends AbstractResolveMojo
appendOutput, excludeReactor, mavenProjectBuilder, outputFile
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, 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 |
---|
ResolvePluginsMojo() |
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. |
protected Set<org.apache.maven.artifact.Artifact> |
resolvePluginArtifacts()
This method resolves the plugin artifacts from the project.
|
getPluginArtifactsFilter, resolveArtifactDependencies, resolveDependencyArtifacts
filterMarkedDependencies, getClassifierTranslatedDependencies, 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
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException
doExecute
in class AbstractDependencyMojo
org.apache.maven.plugin.MojoExecutionException
- with a message if an error occurs.protected Set<org.apache.maven.artifact.Artifact> resolvePluginArtifacts() throws org.apache.maven.artifact.resolver.ArtifactResolutionException, org.apache.maven.artifact.resolver.ArtifactNotFoundException, org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
protected org.apache.maven.shared.artifact.filter.collection.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.