@Mojo(name="go-offline", threadSafe=true) public class GoOfflineMojo extends AbstractResolveMojo
appendOutput, excludeReactor, outputFile
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
reactorProjects, session
Constructor and Description |
---|
GoOfflineMojo() |
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> |
resolveDependencyArtifacts()
This method resolves the dependency artifacts from the project.
|
protected Set<org.apache.maven.artifact.Artifact> |
resolvePluginArtifacts()
This method resolves the plugin artifacts from the project.
|
filterMarkedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, getResolverUtil, isPrependGroupId, setMarkersDirectory, setPrependGroupId
execute, getProject, isSilent, isSkip, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setSilent, setSkip
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> resolveDependencyArtifacts() throws org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
- in case of an error while resolving the artifacts.protected Set<org.apache.maven.artifact.Artifact> resolvePluginArtifacts() throws org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
org.apache.maven.shared.transfer.dependencies.resolve.DependencyResolverException
- in case of an error while resolving the artifacts.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–2024 The Apache Software Foundation. All rights reserved.