public final class UnpackMojo extends AbstractFromConfigurationMojo
reactorProjectsarchiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, remoteRepos, resolver, silent| Constructor and Description |
|---|
UnpackMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Main entry into mojo.
|
String |
getExcludes() |
String |
getIncludes() |
File |
getMarkersDirectory() |
protected List<ArtifactItem> |
getProcessedArtifactItems(boolean removeVersion)
Preprocesses the list of ArtifactItems.
|
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
void |
setMarkersDirectory(File theMarkersDirectory) |
getArtifact, getArtifactItems, getLocal, getOutputDirectory, isOverWriteIfNewer, isOverWriteReleases, isOverWriteSnapshots, isSkip, setArtifactItems, setLocalRepositoryDirectory, setOutputDirectory, setOverWriteIfNewer, setOverWriteReleases, setOverWriteSnapshots, setSkipcopyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpackpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.ArtifactItem,
AbstractFromConfigurationMojo.getArtifactItems(),
unpackArtifact(ArtifactItem)protected List<ArtifactItem> getProcessedArtifactItems(boolean removeVersion) throws org.apache.maven.plugin.MojoExecutionException
AbstractFromConfigurationMojogetProcessedArtifactItems in class AbstractFromConfigurationMojoremoveVersion - remove the version from the filename.org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.ArtifactItempublic File getMarkersDirectory()
public void setMarkersDirectory(File theMarkersDirectory)
theMarkersDirectory - The markersDirectory to set.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-2012 Apache Software Foundation. All Rights Reserved.