acr:acr

Full name:

org.apache.maven.plugins:maven-acr-plugin:3.1.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.
  • 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 value is: false.
User property is: 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 is: maven.acr.escapeString.
<excludes> List - 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 value is: false.
User property is: maven.acr.filterDeploymentDescriptor.
<filters> List - 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 value is: ${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 value is: ${project.build.outputDirectory}.
User property is: maven.acr.outputDirectory.

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 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 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:
<excludes>
  <exclude>**/*DevOnly.class</exclude>
</excludes>

Default exclusions: META-INF/application-client.xml,
  • Type: java.util.List
  • 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
  • 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 outputDirectory to maven.acr.outputDirectory.
  • Type: java.io.File
  • Required: No
  • User Property: maven.acr.outputDirectory
  • Default: ${project.build.outputDirectory}