@Mojo(name="unpack-dependencies",
requiresDependencyResolution=TEST,
defaultPhase=PROCESS_SOURCES,
threadSafe=true)
public class UnpackDependenciesMojo
extends AbstractFromDependenciesMojo
failOnMissingClassifierArtifact, outputDirectory, stripClassifier, stripVersion, useRepositoryLayout, useSubDirectoryPerArtifact, useSubDirectoryPerScope, useSubDirectoryPerTypeclassifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, typearchiverManager, artifactCollector, artifactMetadataSource, factory, ignorePermissions, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent, useJvmChmod| Constructor and Description |
|---|
UnpackDependenciesMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Main entry into mojo.
|
String |
getExcludes() |
String |
getIncludes() |
protected org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter |
getMarkedArtifactFilter()
Return an
ArtifactsFilter indicating which artifacts must be filtered out. |
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
getOutputDirectory, isFailOnMissingClassifierArtifact, isStripVersion, isUseRepositoryLayout, isUseSubDirectoryPerArtifact, isUseSubDirectoryPerScope, isUseSubDirectoryPerType, setFailOnMissingClassifierArtifact, setOutputDirectory, setStripVersion, setUseRepositoryLayout, setUseSubDirectoryPerArtifact, setUseSubDirectoryPerScope, setUseSubDirectoryPerTypefilterMarkedDependencies, 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, unpackprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
doExecute in class AbstractDependencyMojoorg.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.#getDependencies,
DependencyUtil#unpackFile(Artifact, File, File, ArchiverManager,
Log)protected org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter getMarkedArtifactFilter()
AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.getMarkedArtifactFilter in class AbstractDependencyFilterMojoArtifactsFilter indicating which artifacts must be filtered out.public String getExcludes()
public void setExcludes(String excludes)
excludes - A comma separated list of items to exclude
i.e. **\/*.xml, **\/*.propertiespublic String getIncludes()
public void setIncludes(String includes)
includes - A comma separated list of items to include
i.e. **\/*.xml, **\/*.propertiesCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.