@Mojo(name="unpack-dependencies",
requiresDependencyResolution=TEST,
defaultPhase=PROCESS_SOURCES,
threadSafe=true)
public class UnpackDependenciesMojo
extends AbstractFromDependenciesMojo
failOnMissingClassifierArtifact, outputDirectory, stripClassifier, stripType, stripVersion, useRepositoryLayout, useSubDirectoryPerArtifact, useSubDirectoryPerScope, useSubDirectoryPerTypeclassifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, prependGroupId, typeoutputAbsoluteArtifactFilename, 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, setUseSubDirectoryPerTypefilterMarkedDependencies, getArtifactResolver, getClassifierTranslatedDependencies, getDependencyResolver, getDependencySets, getDependencySets, getMarkersDirectory, getRepositoryManager, getResolvedDependencies, isPrependGroupId, resolve, setMarkersDirectory, setPrependGroupIdcopyFile, execute, getProject, isSilent, isSkip, newResolveArtifactProjectBuildingRequest, newResolvePluginProjectBuildingRequest, setSilent, setSkipprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
doExecute in class AbstractDependencyMojoorg.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.AbstractDependencyFilterMojo.getDependencySets(boolean)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, **\/*.propertiespublic void setEncoding(String encoding)
encoding - The encoding to set.public String getEncoding()
public org.codehaus.plexus.components.io.filemappers.FileMapper[] getFileMappers()
FileMappers 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 - FileMappers to be used for rewriting each target path, or null if no
rewriting shall happen.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.