org.apache.maven.plugin.assembly
public abstract class AbstractUnpackingMojo extends AbstractMojo
Version: $Id: AbstractUnpackingMojo.java 387485 2006-03-21 10:50:21Z epunzalan $
Field Summary | |
---|---|
protected ArchiverManager | archiverManager
To look up Archiver/UnArchiver implementations
|
protected ArtifactResolver | artifactResolver |
protected String | classifier |
protected static String[] | EMPTY_STRING_ARRAY |
protected String | finalName
The filename of the assembled distribution file.
|
protected ArtifactRepository | localRepository |
protected File | outputDirectory
The output directory of the assembled distribution file.
|
protected MavenProject | project
The Maven Project.
|
protected boolean | projectModulesOnly |
protected List | reactorProjects
Contains the full list of projects in the reactor.
|
protected File | workDirectory
Directory to unpack JARs into if needed
|
Method Summary | |
---|---|
String | getClassifier() |
protected Set | getDependencies()
Retrieves all artifact dependencies within the reactor
|
protected abstract MavenProject | getExecutedProject() |
protected Set | getModules() |
protected void | unpack(File file, File location)
Unpacks the archive file.
|
UNKNOWN: expression="${component.org.codehaus.plexus.archiver.manager.ArchiverManager}"
UNKNOWN:
Deprecated: Please use the Assembly's id for classifier instead
UNKNOWN: expression="${classifier}"
UNKNOWN: expression="${project.build.finalName}"
UNKNOWN: expression="${localRepository}"
UNKNOWN: expression="${project.build.directory}"
UNKNOWN: expression="${project}"
UNKNOWN: expression="${projectModulesOnly}" default-value="false"
UNKNOWN: expression="${reactorProjects}"
UNKNOWN: expression="${project.build.directory}/assembly/work"
Returns: A HashSet of artifacts
Parameters: file File to be unpacked. location Location where to put the unpacked files.