@Mojo(name="unpack", defaultPhase=PROCESS_SOURCES, requiresProject=false, threadSafe=true) public class UnpackMojo extends AbstractFromConfigurationMojo
outputAbsoluteArtifactFilename, reactorProjects, session
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, getOutputDirectory, getProcessedArtifactItems, isOverWriteIfNewer, isOverWriteReleases, isOverWriteSnapshots, setArtifact, setArtifactItems, setLocalRepositoryDirectory, setOutputDirectory, setOverWriteIfNewer, setOverWriteReleases, setOverWriteSnapshots, verifyRequirements
copyFile, execute, getArchiverManager, getProject, isSilent, isSkip, isUseJvmChmod, newResolveArtifactProjectBuildingRequest, setArchiverManager, setSilent, setSkip, setUseJvmChmod, unpack, unpack, unpack
getLog, getPluginContext, setLog, setPluginContext
protected void doExecute() throws MojoExecutionException, MojoFailureException
doExecute
in class AbstractDependencyMojo
MojoExecutionException
- with a message if an error occurs.MojoFailureException
- MojoFailureException
ArtifactItem
,
AbstractFromConfigurationMojo.getArtifactItems()
,
unpackArtifact(ArtifactItem)
protected List<ArtifactItem> getProcessedArtifactItems(boolean removeVersion) throws MojoExecutionException
removeVersion
- removeVersion.ArtifactItem
MojoExecutionException
- in case of an error.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–2018 The Apache Software Foundation. All rights reserved.