org.apache.maven.plugin.assembly
public abstract class AbstractAssemblyMojo extends AbstractUnpackingMojo
Version: $Id: AbstractAssemblyMojo.java 392475 2006-04-08 02:46:26Z jvanzyl $
Field Summary | |
---|---|
protected boolean | appendAssemblyId
Set to false to exclude the assembly id from the assembly final name.
|
protected File | descriptor
Assembly XML Descriptor file. |
protected String | descriptorId
Predefined Assembly Descriptor Id's. |
protected List | filters |
Method Summary | |
---|---|
protected File | createArchive(Archiver archiver, Assembly assembly, String filename) |
void | execute()
Create the binary distribution.
|
protected String | getDistributionName(Assembly assembly)
Get the full name of the distribution artifact
|
protected void | processDependencySets(Archiver archiver, List dependencySets, boolean includeBaseDirectory)
Processes Dependency Sets
|
protected void | processFileList(Archiver archiver, List fileList, boolean includeBaseDirecetory)
Copy files to the distribution with option to change destination name
|
protected void | processFileSets(Archiver archiver, List fileSets, boolean includeBaseDirecetory)
Process Files that will be included in the distribution.
|
protected List | readAssemblies() |
UNKNOWN: expression="${appendAssemblyId}" default-value="true"
Deprecated: Please use descriptors instead
Assembly XML Descriptor file. This must be the path to your customized descriptor file.UNKNOWN: expression="${descriptor}"
Deprecated: Please use descriptorRefs instead
Predefined Assembly Descriptor Id's. You can select bin, jar-with-dependencies, or src.UNKNOWN: expression="${descriptorId}"
UNKNOWN: expression="${project.build.filters}"
Throws: org.apache.maven.plugin.MojoExecutionException
Parameters: assembly
Returns: the distribution name
Parameters: archiver dependencySets includeBaseDirectory
Parameters: archiver fileList
Throws: org.codehaus.plexus.archiver.ArchiverException
Parameters: archiver fileSets includeBaseDirecetory
Throws: org.codehaus.plexus.archiver.ArchiverException