public final class UnpackMojo extends AbstractFromConfigurationMojo
reactorProjects
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, remoteRepos, resolver, silent
Constructor and Description |
---|
UnpackMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Main entry into mojo.
|
java.lang.String |
getExcludes() |
java.lang.String |
getIncludes() |
java.io.File |
getMarkersDirectory() |
protected java.util.List<ArtifactItem> |
getProcessedArtifactItems(boolean removeVersion)
Preprocesses the list of ArtifactItems.
|
void |
setExcludes(java.lang.String excludes) |
void |
setIncludes(java.lang.String includes) |
void |
setMarkersDirectory(java.io.File theMarkersDirectory) |
getArtifact, getArtifactItems, getLocal, getOutputDirectory, isOverWriteIfNewer, isOverWriteReleases, isOverWriteSnapshots, isSkip, setArtifactItems, setLocalRepositoryDirectory, setOutputDirectory, setOverWriteIfNewer, setOverWriteReleases, setOverWriteSnapshots, setSkip
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, 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.ArtifactItem
,
AbstractFromConfigurationMojo.getArtifactItems()
,
unpackArtifact(ArtifactItem)
protected java.util.List<ArtifactItem> getProcessedArtifactItems(boolean removeVersion) throws org.apache.maven.plugin.MojoExecutionException
AbstractFromConfigurationMojo
getProcessedArtifactItems
in class AbstractFromConfigurationMojo
removeVersion
- remove the version from the filename.org.apache.maven.plugin.MojoExecutionException
- with a message if an error occurs.ArtifactItem
public java.io.File getMarkersDirectory()
public void setMarkersDirectory(java.io.File theMarkersDirectory)
theMarkersDirectory
- The markersDirectory to set.public java.lang.String getExcludes()
public void setExcludes(java.lang.String excludes)
excludes
- A comma separated list of items to exclude i.e. **\/*.xml, **\/*.propertiespublic java.lang.String getIncludes()
public void setIncludes(java.lang.String includes)
includes
- A comma separated list of items to include i.e. **\/*.xml, **\/*.propertiesCopyright © 2013. All Rights Reserved.