|
||||||||||
| 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
org.apache.maven.plugin.assembly.AbstractAssemblyMojo
public abstract class AbstractAssemblyMojo
| Field Summary | |
|---|---|
protected boolean |
appendAssemblyId
Set to false to exclude the assembly id from the assembly final name. |
protected java.io.File |
descriptor
Deprecated. Please use descriptors instead |
protected java.lang.String |
descriptorId
Deprecated. Please use descriptorRefs instead |
protected java.util.List |
filters
|
| Fields inherited from class org.apache.maven.plugin.assembly.AbstractUnpackingMojo |
|---|
archiverManager, artifactResolver, classifier, EMPTY_STRING_ARRAY, finalName, localRepository, outputDirectory, project, reactorProjects, workDirectory |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractAssemblyMojo()
|
|
| Method Summary | |
|---|---|
protected java.io.File |
createArchive(org.codehaus.plexus.archiver.Archiver archiver,
Assembly assembly,
java.lang.String filename)
|
void |
execute()
Create the binary distribution. |
protected java.lang.String |
getDistributionName(Assembly assembly)
Get the full name of the distribution artifact |
protected void |
processDependencySets(org.codehaus.plexus.archiver.Archiver archiver,
java.util.List dependencySets,
boolean includeBaseDirectory)
Processes Dependency Sets |
protected void |
processFileList(org.codehaus.plexus.archiver.Archiver archiver,
java.util.List fileList,
boolean includeBaseDirecetory)
Copy files to the distribution with option to change destination name |
protected void |
processFileSets(org.codehaus.plexus.archiver.Archiver archiver,
java.util.List fileSets,
boolean includeBaseDirecetory)
Process Files that will be included in the distribution. |
protected java.util.List |
readAssemblies()
|
| Methods inherited from class org.apache.maven.plugin.assembly.AbstractUnpackingMojo |
|---|
getClassifier, getDependencies, getExecutedProject, unpack |
| 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 |
| Field Detail |
|---|
protected java.lang.String descriptorId
protected java.io.File descriptor
protected boolean appendAssemblyId
protected java.util.List filters
| Constructor Detail |
|---|
public AbstractAssemblyMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionprotected java.lang.String getDistributionName(Assembly assembly)
assembly -
protected java.io.File createArchive(org.codehaus.plexus.archiver.Archiver archiver,
Assembly assembly,
java.lang.String filename)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException,
java.io.IOException,
org.codehaus.plexus.archiver.ArchiverException,
RepositoryAssemblyException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
java.io.IOException
org.codehaus.plexus.archiver.ArchiverException
RepositoryAssemblyException
protected java.util.List readAssemblies()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
protected void processDependencySets(org.codehaus.plexus.archiver.Archiver archiver,
java.util.List dependencySets,
boolean includeBaseDirectory)
throws org.apache.maven.plugin.MojoExecutionException
archiver - dependencySets - includeBaseDirectory -
org.apache.maven.plugin.MojoExecutionException
protected void processFileSets(org.codehaus.plexus.archiver.Archiver archiver,
java.util.List fileSets,
boolean includeBaseDirecetory)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
archiver - fileSets - includeBaseDirecetory -
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void processFileList(org.codehaus.plexus.archiver.Archiver archiver,
java.util.List fileList,
boolean includeBaseDirecetory)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
archiver - fileList -
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||