Assemble an application bundle or distribution from an assembly descriptor.
Mojo Attributes:
test
package
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 . |
boolean
No
${appendAssemblyId}
true
org.apache.maven.archiver.MavenArchiveConfiguration
No
<directory>
specifications in the assembly descriptor. This is an optional
parameter
java.io.File
No
org.apache.maven.artifact.resolver.ArtifactResolver
No
java.lang.String
No
${classifier}
java.io.File
No
${descriptor}
java.lang.String
No
${descriptorId}
bin
,
jar-with-dependencies
, or src
.
java.lang.String[]
No
java.io.File
No
java.io.File[]
No
org.apache.maven.project.MavenProject
No
${executedProject}
java.util.List
No
${project.build.filters}
java.lang.String
Yes
${project.build.finalName}
boolean
No
${includeSite}
false
org.apache.maven.artifact.repository.ArtifactRepository
No
${localRepository}
java.io.File
Yes
${project.build.directory}
org.apache.maven.project.MavenProjectHelper
No
org.apache.maven.plugin.assembly.repository.RepositoryAssembler
No
java.lang.String
No
${tarLongFileMode}
warn
java.io.File
Yes
${project.build.directory}/assembly/work