appassembler:assemble

Assembles the artifacts and generates bin scripts for the configured applications

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: runtime
  • Automatically executes within the lifecycle phase: package

Required Parameters

Name Type 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.
programs Set The set of Programs that bin files will be generated for.

Optional Parameters

Name Type Description
artifactInstaller ArtifactInstaller No description.
artifactRepositoryFactory ArtifactRepositoryFactory No description.
availableRepositoryLayouts Map No description.
daemonGeneratorService DaemonGeneratorService No description.
environmentSetupFileName String Setup file in $BASEDIR/bin to be called prior to execution.
extraJvmArguments String Extra arguments that will be given to the JVM verbatim.
generateRepository boolean No description. Default value is true.
includeConfigurationDirectoryInClasspath boolean Include /etc in the beginning of the classpath in the generated bin files. Default value is true.
platforms Set The default platforms the plugin will generate bin files for. Configure with string values - "all"(default/empty) | "windows" | "unix".
repositoryLayout String The layout of the generated Maven repository. Supported types - "default" (Maven2) | "legacy" (Maven1) | "flat" (flat lib/ style). Default value is default.
repositoryName String Path (relative to target) of the desired output repository. Default value is repo.
showConsoleWindow boolean Show console window when execute this application. Default value is true.

Parameter Details

artifactInstaller No Description.
  • Type: org.apache.maven.artifact.installer.ArtifactInstaller
  • Required: No

artifactRepositoryFactory No Description.
  • Type: org.apache.maven.artifact.repository.ArtifactRepositoryFactory
  • Required: No

assembleDirectory The directory that will be used to assemble the artifacts in and place the bin scripts.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${assembleDirectory}
  • Default: ${project.build.directory}/appassembler

availableRepositoryLayouts No Description.
  • Type: java.util.Map
  • Required: No

daemonGeneratorService No Description.
  • Type: org.codehaus.mojo.appassembler.daemon.DaemonGeneratorService
  • Required: No

environmentSetupFileName Setup file in $BASEDIR/bin to be called prior to execution.
  • Type: java.lang.String
  • Required: No

extraJvmArguments Extra arguments that will be given to the JVM verbatim.
  • Type: java.lang.String
  • Required: No

generateRepository No Description.
  • Type: boolean
  • Required: No
  • Default: true

includeConfigurationDirectoryInClasspath Include /etc in the beginning of the classpath in the generated bin files.
  • Type: boolean
  • Required: No
  • Default: true

platforms The default platforms the plugin will generate bin files for. Configure with string values - "all"(default/empty) | "windows" | "unix".
  • Type: java.util.Set
  • Required: No

programs The set of Programs that bin files will be generated for.
  • Type: java.util.Set
  • Required: Yes

repositoryLayout The layout of the generated Maven repository. Supported types - "default" (Maven2) | "legacy" (Maven1) | "flat" (flat lib/ style).
  • Type: java.lang.String
  • Required: No
  • Default: default

repositoryName Path (relative to target) of the desired output repository.
  • Type: java.lang.String
  • Required: No
  • Default: repo

showConsoleWindow Show console window when execute this application.
  • Type: boolean
  • Required: No
  • Default: true