@Mojo(name="unpack", defaultPhase=PROCESS_SOURCES, requiresProject=false, threadSafe=true) public class UnpackMojo extends AbstractFromConfigurationMojo
archiverManager, artifactCollector, artifactMetadataSource, factory, ignorePermissions, outputAbsoluteArtifactFilename, project, reactorProjects, 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, verifyRequirementscopyFile, execute, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLog, getProject, getRemoteRepos, getResolver, isSkip, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setSkip, setUseJvmChmod, unpack, unpackgetPluginContext, setLog, setPluginContextprotected void doExecute()
throws MojoExecutionException,
MojoFailureException
doExecute in class AbstractDependencyMojoMojoExecutionException - with a message if an error occurs.MojoFailureExceptionArtifactItem,
AbstractFromConfigurationMojo.getArtifactItems(),
unpackArtifact(ArtifactItem)protected List<ArtifactItem> getProcessedArtifactItems(boolean removeVersion) throws MojoExecutionException
MojoExecutionExceptionpublic 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–2014 The Apache Software Foundation. All rights reserved.