Full name:
com.coremedia.maven:coremedia-application-maven-plugin:3.0.0:package-inplace
Description:
${project.build.directory}/${project.build.finalName}/
folder by unpacking all coremedia-application
or
zip
dependencies and copying all JAR dependencies of
them in the
${project.build.directory}/${project.build.finalName}/lib
folder.sourceDirectory
are copied over the unpacked dependent zips to allow overwriting of
configuration etc. in the last step of assembling the
application.All dependencies of type coremedia-application
and
of type zip
are detected as candidates to merge and
they are handled as if it were base artifacts for a single
coremedia application described above. Be aware that this feature
cannot be used for skinny coremedia-application artifacts e.g. no
dependencyManagement
can be applied to the extraction
of the dependencies.
Attributes:
runtime
.compile
.Name | Type | Since | Description |
---|---|---|---|
<appResources> |
Resource[] |
- |
The list of static application resources we want to transfer. Default value is: <appResources> <resource> <directory>src/main/app</directory> <includes> <include>**/*.xml</include> <include>**/*.jpif</include> <include>**/*.properties</include> <include>**/*.txt</include> </includes> <filtering>true</filtering> </resource> <resource> <directory>src/main/app</directory> <excludes> <exclude>**/*.xml</exclude> <exclude>**/*.jpif</exclude> <exclude>**/*.properties</exclude> <exclude>**/*.txt</exclude> </excludes> <filtering>false</filtering> </resource> </appResources> |
<checkMergedVersions> |
boolean |
2.3 |
Whether to fail if two artifacts with the same artifactId but
different version are retrieved to the applications lib dir. The
check cannot detect classifier and will also fail on same version,
same artifactId but different classifier. Default value is: false . |
<configDir> |
File |
2.4 |
The directory where override configuration files should be placed.
All files found here will be used to process files found below the
@{link outputDirectory} using the same relative path starting from
this directory. The override configuration files can contain tokens
as they are being filtered first to a temporary directory. This
mechanism supports only *.properties files. If an override
configuration file and its target configuration file are found, the
target is loaded and its values will be overridden with the values
found in the override configuration file. Default value is: src/main/override-properties . |
<dependencyFiltering> |
boolean |
2.4 |
Controls whether dependent artifacts should be filtered during
extraction Default value is: false . |
<dependencyFilteringPattern> |
String[] |
2.4 |
Filepattern to define the files to filter during extraction of
dependencyArtifacts and Overlays. |
<dos2unixPattern> |
String[] |
2.5 |
Filepattern to define the files for dos 2 unix line ending
conversion. |
<encoding> |
String |
- |
The character encoding scheme to be applied when filtering the
static application resources. Default value is: ${project.build.sourceEncoding} . |
<escapeWindowsPaths> |
boolean |
2.5 |
Whether to escape backslashes and colons in windows-style paths. Default value is: true . |
<excludeTransitiveJars> |
boolean |
2.4 |
Set to true to exlude copying of transitive jar dependencies Default value is: false . |
<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 should be retrieved to. Default value is: lib . |
<outputDirectory> |
File |
2.0 |
Location of the assembled application. Default value is: ${project.build.directory}/${project.build.finalName} . |
<overlays> |
List |
2.1 |
With overlays you can define includes and excludes for each
coremedia-application dependency to be extracted during the
packaging. Be aware, that you cannot influence the order of
extraction, which is fixed by the order in the dependency tree.
Files extracted first won't be overwritten, except by files from
the module itself. To define an overlay simply add something like :
<overlays> <overlay> <artifactId>foo</artifactId> <groupId>bar</groupId> <excludes> <exclude>forbidden.xml</exclude> </excludes> </overlay> </overlays> |
<stripJarVersions> |
boolean |
2.4 |
Strip artifact version during copying of jar artifacts Default value is: false . |
<appResources> <resource> <directory>src/main/app</directory> <includes> <include>**/*.xml</include> <include>**/*.jpif</include> <include>**/*.properties</include> <include>**/*.txt</include> </includes> <filtering>true</filtering> </resource> <resource> <directory>src/main/app</directory> <excludes> <exclude>**/*.xml</exclude> <exclude>**/*.jpif</exclude> <exclude>**/*.properties</exclude> <exclude>**/*.txt</exclude> </excludes> <filtering>false</filtering> </resource> </appResources>
org.apache.maven.model.Resource[]
No
boolean
2.3
No
false
java.io.File
2.4
No
src/main/override-properties
boolean
2.4
No
false
java.lang.String[]
2.4
No
java.lang.String[]
2.5
No
java.lang.String
No
${project.build.sourceEncoding}
boolean
2.5
No
true
boolean
2.4
No
false
<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}
<overlays> <overlay> <artifactId>foo</artifactId> <groupId>bar</groupId> <excludes> <exclude>forbidden.xml</exclude> </excludes> </overlay> </overlays>
java.util.List
2.1
No
boolean
2.4
No
false