appassembler:create-repository
Full name:
org.codehaus.mojo:appassembler-maven-plugin:1.10:create-repository
Description:
Creates an appassembler repository. Note that this is deliberately
a bit more specific than the assembly plugin version - if that
could generate a flat layout and exclude JARs, it may be a suitable
replacement.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope: runtime.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase: package.
Required Parameters
| Name |
Type |
Since |
Description |
| assembleDirectory |
File |
- |
The directory that will be used to assemble the artifacts in and
place the bin scripts. Default value is: ${project.build.directory}/appassembler.
|
Optional Parameters
| Name |
Type |
Since |
Description |
| installBooterArtifacts |
boolean |
- |
Whether to install the booter artifacts into the repository. This
may be needed if you are using the Shell script generators. Default value is: false.
|
| outputFileNameMapping |
String |
1.5 |
The file name mapping to use when copying libraries to the
repository. If no file mapping is set (default) the files are
copied with their standard names.
Note: if you use this parameter, then the
useTimestampInSnapshotFileName parameter will be
ignored.
|
| repositoryLayout |
String |
- |
The layout of the generated Maven repository. Supported types -
"default" (Maven2) | "legacy" (Maven1) | "flat" (flat
lib/ style). The style "legacy" is only supported if
you are running under Maven 2.2.1 and before. Default value is: default.
|
| repositoryName |
String |
1.3.1 |
Path (relative to assembleDirectory) of the desired
output repository. Default value is: repo.
|
| useTimestampInSnapshotFileName |
boolean |
1.2.3 (create-repository), 1.3 (assemble and generate-daemons) |
For those snapshots downloaded from a remote repo, replace the
timestamp part with "SNAPSHOT" instead. Default value is: true.
|
Parameter Details
assembleDirectory:
The directory that will be used to assemble the artifacts in and
place the bin scripts.
- Type: java.io.File
- Required: Yes
- Default: ${project.build.directory}/appassembler
installBooterArtifacts:
Whether to install the booter artifacts into the repository. This
may be needed if you are using the Shell script generators.
- Type: boolean
- Required: No
- Default: false
outputFileNameMapping:
The file name mapping to use when copying libraries to the
repository. If no file mapping is set (default) the files are
copied with their standard names.
Note: if you use this parameter, then the
useTimestampInSnapshotFileName parameter will be
ignored.
- Type: java.lang.String
- Since: 1.5
- Required: No
repositoryLayout:
The layout of the generated Maven repository. Supported types -
"default" (Maven2) | "legacy" (Maven1) | "flat" (flat
lib/ style). The style "legacy" is only supported if
you are running under Maven 2.2.1 and before.
- Type: java.lang.String
- Required: No
- Default: default
repositoryName:
Path (relative to assembleDirectory) of the desired
output repository.
- Type: java.lang.String
- Since: 1.3.1
- Required: No
- Default: repo
useTimestampInSnapshotFileName:
For those snapshots downloaded from a remote repo, replace the
timestamp part with "SNAPSHOT" instead.
- Type: boolean
- Since: 1.2.3 (create-repository), 1.3 (assemble and generate-daemons)
- Required: No
- Default: true