|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.assembly.AbstractUnpackingMojo
public abstract class AbstractUnpackingMojo
Base routines for assembly and unpack goals.
Field Summary | |
---|---|
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager
To look up Archiver/UnArchiver implementations |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver
|
protected java.lang.String |
classifier
Deprecated. Please use the Assembly's id for classifier instead |
protected static java.lang.String[] |
EMPTY_STRING_ARRAY
|
protected java.lang.String |
finalName
The filename of the assembled distribution file. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
|
protected java.io.File |
outputDirectory
The output directory of the assembled distribution file. |
protected org.apache.maven.project.MavenProject |
project
The Maven Project. |
protected boolean |
projectModulesOnly
|
protected java.util.List |
reactorProjects
Contains the full list of projects in the reactor. |
protected java.io.File |
workDirectory
Directory to unpack JARs into if needed |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractUnpackingMojo()
|
Method Summary | |
---|---|
java.lang.String |
getClassifier()
|
protected java.util.Set |
getDependencies()
Retrieves all artifact dependencies within the reactor |
protected abstract org.apache.maven.project.MavenProject |
getExecutedProject()
|
protected java.util.Set |
getModules()
|
protected void |
unpack(java.io.File file,
java.io.File location)
Unpacks the archive file. |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected static final java.lang.String[] EMPTY_STRING_ARRAY
protected java.io.File outputDirectory
protected java.lang.String finalName
protected boolean projectModulesOnly
protected java.io.File workDirectory
protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected java.util.List reactorProjects
protected java.lang.String classifier
protected org.apache.maven.project.MavenProject project
Constructor Detail |
---|
public AbstractUnpackingMojo()
Method Detail |
---|
protected java.util.Set getDependencies() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.util.Set getModules() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract org.apache.maven.project.MavenProject getExecutedProject()
protected void unpack(java.io.File file, java.io.File location) throws org.apache.maven.plugin.MojoExecutionException, org.codehaus.plexus.archiver.manager.NoSuchArchiverException
file
- File to be unpacked.location
- Location where to put the unpacked files.
org.apache.maven.plugin.MojoExecutionException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException
public java.lang.String getClassifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |