@Mojo(name="unpack-dependencies", requiresDependencyResolution=TEST, defaultPhase=PROCESS_SOURCES, threadSafe=true) public class UnpackDependenciesMojo extends AbstractFromDependenciesMojo
failOnMissingClassifierArtifact, outputDirectory, stripClassifier, stripType, stripVersion, useRepositoryLayout, useSubDirectoryPerArtifact, useSubDirectoryPerScope, useSubDirectoryPerType
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, type
reactorProjects, session
Constructor and Description |
---|
UnpackDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute()
Main entry into mojo.
|
String |
getEncoding() |
String |
getExcludes() |
org.codehaus.plexus.components.io.filemappers.FileMapper[] |
getFileMappers() |
String |
getIncludes() |
protected org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter |
getMarkedArtifactFilter()
Return an
ArtifactsFilter indicating which artifacts must be filtered out. |
void |
setEncoding(String encoding) |
void |
setExcludes(String excludes) |
void |
setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers) |
void |
setIncludes(String includes) |
getOutputDirectory, isFailOnMissingClassifierArtifact, isStripType, isStripVersion, isUseRepositoryLayout, isUseSubDirectoryPerArtifact, isUseSubDirectoryPerScope, isUseSubDirectoryPerType, setFailOnMissingClassifierArtifact, setOutputDirectory, setStripType, setStripVersion, setUseRepositoryLayout, setUseSubDirectoryPerArtifact, setUseSubDirectoryPerScope, setUseSubDirectoryPerType
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.AbstractDependencyFilterMojo.getDependencySets(boolean)
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.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
public void setEncoding(String encoding)
encoding
- The encoding to set.public String getEncoding()
public org.codehaus.plexus.components.io.filemappers.FileMapper[] getFileMappers()
FileMapper
s to be used for rewriting each target path, or null
if no rewriting shall
happen.public void setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers)
fileMappers
- FileMapper
s to be used for rewriting each target path, or null
if no
rewriting shall happen.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.