@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, verifyRequirements
copyFile, execute, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLog, getProject, getRemoteRepos, getResolver, isSkip, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setSkip, setUseJvmChmod, unpack, unpack
getPluginContext, setLog, setPluginContext
protected void doExecute() throws MojoExecutionException, MojoFailureException
doExecute
in class AbstractDependencyMojo
MojoExecutionException
- with a message if an error occurs.MojoFailureException
ArtifactItem
,
AbstractFromConfigurationMojo.getArtifactItems()
,
unpackArtifact(ArtifactItem)
protected List<ArtifactItem> getProcessedArtifactItems(boolean removeVersion) throws MojoExecutionException
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.