|
||||||||||
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, projectModulesOnly, 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,
org.apache.maven.plugins.assembly.model.Assembly assembly,
java.lang.String filename)
|
void |
execute()
Create the binary distribution. |
protected java.lang.String |
getDistributionName(org.apache.maven.plugins.assembly.model.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, getModules, 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.MojoFailureException
protected java.lang.String getDistributionName(org.apache.maven.plugins.assembly.model.Assembly assembly)
assembly
-
protected java.io.File createArchive(org.codehaus.plexus.archiver.Archiver archiver, org.apache.maven.plugins.assembly.model.Assembly assembly, java.lang.String filename) throws org.codehaus.plexus.archiver.ArchiverException, java.io.IOException, org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, org.codehaus.plexus.util.xml.pull.XmlPullParserException, RepositoryAssemblyException, org.apache.maven.artifact.InvalidRepositoryException
org.codehaus.plexus.archiver.ArchiverException
java.io.IOException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
RepositoryAssemblyException
org.apache.maven.artifact.InvalidRepositoryException
protected java.util.List readAssemblies() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException, AssemblyInterpolationException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
AssemblyInterpolationException
protected void processDependencySets(org.codehaus.plexus.archiver.Archiver archiver, java.util.List dependencySets, boolean includeBaseDirectory) throws org.codehaus.plexus.archiver.ArchiverException, java.io.IOException, org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
archiver
- dependencySets
- includeBaseDirectory
-
org.codehaus.plexus.archiver.ArchiverException
java.io.IOException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
protected void processFileSets(org.codehaus.plexus.archiver.Archiver archiver, java.util.List fileSets, boolean includeBaseDirecetory) throws org.codehaus.plexus.archiver.ArchiverException, java.io.IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
archiver
- fileSets
- includeBaseDirecetory
-
org.codehaus.plexus.archiver.ArchiverException
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
protected void processFileList(org.codehaus.plexus.archiver.Archiver archiver, java.util.List fileList, boolean includeBaseDirecetory) throws org.codehaus.plexus.archiver.ArchiverException, java.io.IOException, org.apache.maven.plugin.MojoExecutionException
archiver
- fileList
-
org.codehaus.plexus.archiver.ArchiverException
java.io.IOException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |