@Mojo(name="unpack", defaultPhase=PROCESS_SOURCES, requiresProject=false, threadSafe=true) public final class UnpackMojo extends AbstractFromConfigurationMojo
reactorProjects
archiverManager, artifactCollector, artifactMetadataSource, factory, ignorePermissions, outputAbsoluteArtifactFilename, project, remoteRepos, resolver, silent, useJvmChmod
Constructor and Description |
---|
UnpackMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute()
Main entry into mojo.
|
String |
getExcludes() |
String |
getIncludes() |
File |
getMarkersDirectory() |
protected List<ArtifactItem> |
getProcessedArtifactItems(boolean removeVersion) |
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
void |
setMarkersDirectory(File theMarkersDirectory) |
getArtifact, getArtifactItems, getLocal, getOutputDirectory, getProcessedArtifactItems, isOverWriteIfNewer, isOverWriteReleases, isOverWriteSnapshots, setArtifact, setArtifactItems, setLocalRepositoryDirectory, setOutputDirectory, setOverWriteIfNewer, setOverWriteReleases, setOverWriteSnapshots, verifyRequirements
copyFile, execute, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLog, getProject, getRemoteRepos, getResolver, isSkip, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setSkip, setUseJvmChmod, unpack, unpack
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
doExecute
in class AbstractDependencyMojo
org.apache.maven.plugin.MojoExecutionException
- with a message if an error occurs.org.apache.maven.plugin.MojoFailureException
ArtifactItem
,
AbstractFromConfigurationMojo.getArtifactItems()
,
unpackArtifact(ArtifactItem)
protected List<ArtifactItem> getProcessedArtifactItems(boolean removeVersion) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public 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-2015 The Apache Software Foundation. All Rights Reserved.