acr:acr
Full name:
org.apache.maven.plugins:maven-acr-plugin:3.2.0:acr
Description:
Build a JavaEE Application Client jar file from the current project.
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.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<archive> |
MavenArchiveConfiguration |
- |
The archive configuration to use. See Maven Archiver Reference. |
<escapeBackslashesInFilePath> |
boolean |
- |
To escape interpolated value with windows path. c:\foo\bar will be replaced with c:\\foo\\bar.
Starting with 3.0.0 the property has been renamed from acr.escapeBackslashesInFilePath to maven.acr.escapeBackslashesInFilePath.Default: falseUser Property: maven.acr.escapeBackslashesInFilePath |
<escapeString> |
String |
- |
An expression preceded with this String won't be interpolated. \${foo} will be replaced with ${foo}.
Starting with 3.0.0 the property has been renamed from acr.escapeString to maven.acr.escapeString.User Property: maven.acr.escapeString |
<excludes> |
List<String> |
- |
The files and directories to exclude from the main Application Client jar. Usage:
<excludes> <exclude>**/*DevOnly.class</exclude> </excludes> Default exclusions: META-INF/application-client.xml, |
<filterDeploymentDescriptor> |
boolean |
- |
To filter the deployment descriptor. Starting with 3.0.0 the property has been renamed from acr.filterDeploymentDescriptor to maven.acr.filterDeploymentDescriptor.Default: falseUser Property: maven.acr.filterDeploymentDescriptor |
<filters> |
List<String> |
- |
Filters (properties files) to include during the interpolation of the deployment descriptor. |
<jarName> |
String |
- |
The name of the Application client JAR file to generate. Default: ${project.build.finalName} |
<outputDirectory> |
File |
- |
Directory that resources are copied to during the build.
Starting with 3.0.0 the property has been renamed from outputDirectory to maven.acr.outputDirectory.Default: ${project.build.outputDirectory}User Property: maven.acr.outputDirectory |
<outputTimestamp> |
String |
3.2.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: ${project.build.outputTimestamp} |
Parameter Details
<archive>
The archive configuration to use. See Maven Archiver Reference.
- Type:
org.apache.maven.archiver.MavenArchiveConfiguration - Required:
No
<escapeBackslashesInFilePath>
To escape interpolated value with windows path. c:\foo\bar will be replaced with c:\\foo\\bar.
Starting with 3.0.0 the property has been renamed from
Starting with 3.0.0 the property has been renamed from
acr.escapeBackslashesInFilePath to maven.acr.escapeBackslashesInFilePath.- Type:
boolean - Required:
No - User Property:
maven.acr.escapeBackslashesInFilePath - Default:
false
<escapeString>
An expression preceded with this String won't be interpolated. \${foo} will be replaced with ${foo}.
Starting with 3.0.0 the property has been renamed from
Starting with 3.0.0 the property has been renamed from
acr.escapeString to maven.acr.escapeString.- Type:
java.lang.String - Required:
No - User Property:
maven.acr.escapeString
<excludes>
The files and directories to exclude from the main Application Client jar. Usage:
Default exclusions: META-INF/application-client.xml,
<excludes> <exclude>**/*DevOnly.class</exclude> </excludes>
Default exclusions: META-INF/application-client.xml,
- Type:
java.util.List<java.lang.String> - Required:
No
<filterDeploymentDescriptor>
To filter the deployment descriptor. Starting with 3.0.0 the property has been renamed from
acr.filterDeploymentDescriptor to maven.acr.filterDeploymentDescriptor.- Type:
boolean - Required:
No - User Property:
maven.acr.filterDeploymentDescriptor - Default:
false
<filters>
Filters (properties files) to include during the interpolation of the deployment descriptor.
- Type:
java.util.List<java.lang.String> - Required:
No
<jarName>
The name of the Application client JAR file to generate.
- Type:
java.lang.String - Required:
No - Default:
${project.build.finalName}
<outputDirectory>
Directory that resources are copied to during the build.
Starting with 3.0.0 the property has been renamed from
Starting with 3.0.0 the property has been renamed from
outputDirectory to maven.acr.outputDirectory.- Type:
java.io.File - Required:
No - User Property:
maven.acr.outputDirectory - Default:
${project.build.outputDirectory}
<outputTimestamp>
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).- Type:
java.lang.String - Since:
3.2.0 - Required:
No - Default:
${project.build.outputTimestamp}


