Full name:
com.coremedia.maven:coremedia-application-maven-plugin:2.7.9:zip-it
Description:
The deployable application corresponds to the generated artifact in the ${project.build.directory}/${project.build.finalName}/ folder. If a skinny application is chosen all referenced jar artifacts are not included in the packaged artifact e.g. no lib/*.jar and also no ${project.build.directory}/${project.build.finalName}/config/[applicationName]/framework/*.jar.
If war artifacts are merged in, their jars won't be excluded from the zipped artifact since they are loaded by an isolated classloader and therefore no dependencyManagement can be applied on further aggregation layers.
Attributes:
Name | Type | Since | Description |
---|---|---|---|
classifier | String | 2.4 | The classifier used for installing or deploying the created
artifact |
executables | String[] | 2.7 | Lists all files that need the executable flag. All files listed
here will be executable in the FS and in the ZIP. Default is
<executables> <executable>bin/cm</executable> <executable>bin/*.sh</executable> <executable>bin/bshrc</executable> <executable>bin/bshrc-scripting</executable> <executable>bin/bsh</executable> </executables> |
libDir | String | 2.4 | The directory path relative to the configured outputDirectory,
where jars have been retrieved to. Default value is: lib. |
outputDirectory | File | 2.0 | Location of the assembled application. Default value is: ${project.build.directory}/${project.build.finalName}. |
outputFile | File | - | The path of the archive to be created. The default value will be
${project.build.directory}/${project.build.finalName}.[zip|war|rpm] |
skinnyApplication | boolean | - | Tells the archiver to exclude the jars from the final ZIP. This is
equal to having an exclude in the zipConfig element. Default value is: false. |
skipArchiving | boolean | 2.4 | Skips the archive creation. Default value is: false. |
skipZipArchiving | boolean | 2.7 | Skips the archive creation. Default value is: false. User property is: skipZipArchiving. |
zipConfig | ZipConfig | 2.4 | The configuration for the zip mojo
<zipConfig> <includes>**/*</includes> <excludes>private/**</excludes> <prefix>SOME_PREFIX</excludes> </zipConfig> |
<executables> <executable>bin/cm</executable> <executable>bin/*.sh</executable> <executable>bin/bshrc</executable> <executable>bin/bshrc-scripting</executable> <executable>bin/bsh</executable> </executables>
<zipConfig> <includes>**/*</includes> <excludes>private/**</excludes> <prefix>SOME_PREFIX</excludes> </zipConfig>