public class UnpackDependenciesMojo extends AbstractFromDependenciesMojo
copyPom, failOnMissingClassifierArtifact, outputDirectory, stripVersion, useRepositoryLayout, useSubDirectoryPerArtifact, useSubDirectoryPerScope, useSubDirectoryPerType
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent
Constructor and Description |
---|
UnpackDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Main entry into mojo.
|
String |
getExcludes() |
String |
getIncludes() |
protected org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter |
getMarkedArtifactFilter() |
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
getOutputDirectory, isCopyPom, isFailOnMissingClassifierArtifact, isStripVersion, isUseRepositoryLayout, isUseSubDirectoryPerArtifact, isUseSubDirectoryPerScope, isUseSubDirectoryPerType, setCopyPom, setFailOnMissingClassifierArtifact, setOutputDirectory, setStripVersion, setUseRepositoryLayout, setUseSubDirectoryPerArtifact, setUseSubDirectoryPerScope, setUseSubDirectoryPerType
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getMarkersDirectory, getResolvedDependencies, isPrependGroupId, setMarkersDirectory, setPrependGroupId
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpack
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.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()
getMarkedArtifactFilter
in class AbstractDependencyFilterMojo
public String getExcludes()
public void setExcludes(String excludes)
excludes
- A comma separated list of items to exclude
i.e. **\/*.xml, **\/*.properties
public String getIncludes()
public void setIncludes(String includes)
includes
- A comma separated list of items to include
i.e. **\/*.xml, **\/*.properties
Copyright © 2014. All rights reserved.