@Mojo(name="go-offline", requiresDependencyResolution=TEST, threadSafe=true) @Execute(goal="resolve-plugins") public class GoOfflineMojo extends AbstractResolveMojo
appendOutput, excludeReactor, ignorePermissions, outputFile, useJvmChmod
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
outputAbsoluteArtifactFilename, 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. |
getPluginArtifactsFilter, resolveArtifactDependencies
filterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupId
copyFile, execute, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpack
getLog, getPluginContext, setLog, setPluginContext
protected void doExecute() throws MojoExecutionException
doExecute
in class AbstractDependencyMojo
MojoExecutionException
- with a message if an error occurs.protected 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–2018 The Apache Software Foundation. All rights reserved.