Full name:
com.coremedia.maven:coremedia-application-maven-plugin:3.0.1:zip-it
Description:
package-inplace
goal and
attaches the zip file as project artifact. There are two modes:
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:
package
.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 |
<outputTimestamp> |
String |
3.0.0 |
Timestamp for reproducible output archive entries, either formatted
as ISO 8601 yyyy-MM-dd'T'HH:mm:ssXXX or as an int
representing seconds since the epoch (like SOURCE_DATE_EPOCH).Default value is: ${project.build.outputTimestamp} . |
<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> |
java.lang.String
2.4
No
<executables> <executable>bin/cm</executable> <executable>bin/*.sh</executable> <executable>bin/bshrc</executable> <executable>bin/bshrc-scripting</executable> <executable>bin/bsh</executable> </executables>
java.lang.String[]
2.7
No
java.lang.String
2.4
No
lib
java.io.File
2.0
No
${project.build.directory}/${project.build.finalName}
java.io.File
No
yyyy-MM-dd'T'HH:mm:ssXXX
or as an int
representing seconds since the epoch (like SOURCE_DATE_EPOCH).java.lang.String
3.0.0
No
${project.build.outputTimestamp}
boolean
No
false
boolean
2.4
No
false
boolean
2.7
No
skipZipArchiving
false
<zipConfig> <includes>**/*</includes> <excludes>private/**</excludes> <prefix>SOME_PREFIX</excludes> </zipConfig>
com.coremedia.cms.maven.application.zip.ZipConfig
2.4
No