@Mojo(name="go-offline", threadSafe=true) public class GoOfflineMojo extends AbstractResolveMojo
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 |
|---|
GoOfflineMojo() |
| 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> |
resolveDependencyArtifacts()
This method resolves the dependency artifacts from the project.
|
protected Set<Artifact> |
resolvePluginArtifacts()
This method resolves the plugin artifacts from the project.
|
getArtifactsFilter, resolveArtifactDependenciesfilterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupIdcopyFile, execute, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpackgetLog, getPluginContext, setLog, setPluginContextprotected void doExecute()
throws MojoExecutionException
doExecute in class AbstractDependencyMojoMojoExecutionException - with a message if an error occurs.protected Set<Artifact> resolveDependencyArtifacts() throws DependencyResolverException
DependencyResolverException - in case of an error while resolving the artifacts.protected Set<Artifact> resolvePluginArtifacts() throws DependencyResolverException
DependencyResolverException - in case of an error while resolving the artifacts.protected ArtifactsFilter getMarkedArtifactFilter()
AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.getMarkedArtifactFilter in class AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.