Assemble an application bundle or distribution.
Mojo Attributes:
testpackage prior to executing itself.| Name | Type | Description |
|---|---|---|
| finalName | String |
The filename of the assembled distribution file. |
| outputDirectory | File |
The output directory of the assembled distribution file. |
| workDirectory | File |
Directory to unpack JARs into if needed |
| Name | Type | Description |
|---|---|---|
| appendAssemblyId | boolean |
Set to false to exclude the assembly id from the assembly final name. Default value is true. |
| archive | MavenArchiveConfiguration |
No description. |
| archiveBaseDirectory | File |
This is the base directory from which archive files are created.
This base directory pre-pended to any <directory>
specifications in the assembly descriptor. This is an optional
parameter |
| artifactResolver | ArtifactResolver |
No description. |
| classifier | String |
No description. |
| descriptor | File |
Assembly XML Descriptor file. This must be the path to your customized descriptor file. |
| descriptorId | String |
Predefined Assembly Descriptor Id's. You can select bin, jar-with-dependencies, or src. |
| descriptorRefs | String[] |
A list of built-in descriptor references to generate from. You can select from bin,
jar-with-dependencies, or src. |
| descriptorSourceDirectory | File |
directory to scan for descriptor files in |
| descriptors | File[] |
A list of descriptor files to generate from. |
| executedProject | MavenProject |
Get the executed project from the forked lifecycle. |
| filters | List |
No description. |
| includeSite | boolean |
Set to true to include the site generated by site:site goal. Default value is false. |
| localRepository | ArtifactRepository |
No description. |
| projectHelper | MavenProjectHelper |
Maven ProjectHelper |
| repositoryAssembler | RepositoryAssembler |
No description. |
| tarLongFileMode | String |
Sets the TarArchiver behavior on file paths with more than 100 characters length.
Valid values are: "warn" (default), "fail", "truncate", "gnu", or "omit". Default value is warn. |
booleanNo${appendAssemblyId}trueorg.apache.maven.archiver.MavenArchiveConfigurationNo<directory>
specifications in the assembly descriptor. This is an optional
parameter
java.io.FileNoorg.apache.maven.artifact.resolver.ArtifactResolverNojava.lang.StringNo${classifier}java.io.FileNo${descriptor}java.lang.StringNo${descriptorId}bin,
jar-with-dependencies, or src.
java.lang.String[]Nojava.io.FileNojava.io.File[]Noorg.apache.maven.project.MavenProjectNo${executedProject}java.util.ListNo${project.build.filters}java.lang.StringYes${project.build.finalName}booleanNo${includeSite}falseorg.apache.maven.artifact.repository.ArtifactRepositoryNo${localRepository}java.io.FileYes${project.build.directory}org.apache.maven.project.MavenProjectHelperNoorg.apache.maven.plugin.assembly.repository.RepositoryAssemblerNojava.lang.StringNo${tarLongFileMode}warnjava.io.FileYes${project.build.directory}/assembly/work