acr:acr

Full name:

org.apache.maven.plugins:maven-acr-plugin:1.1: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.
Default value is: false.
User property is: acr.escapeBackslashesInFilePath.
escapeString String - An expression preceded with this String won't be interpolated. \${foo} will be replaced with ${foo}.
User property is: 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.
Default value is: false.
User property is: 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}.
User property is: jarName.
outputDirectory File - Directory that resources are copied to during the build.
Default value is: ${project.build.outputDirectory}.
User property is: 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.
  • Type: boolean
  • Required: No
  • User Property: acr.escapeBackslashesInFilePath
  • Default: false

escapeString:

An expression preceded with this String won't be interpolated. \${foo} will be replaced with ${foo}.
  • Type: java.lang.String
  • Required: No
  • User Property: 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.
  • Type: boolean
  • Required: No
  • User Property: 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
  • User Property: jarName
  • Default: ${project.build.finalName}

outputDirectory:

Directory that resources are copied to during the build.
  • Type: java.io.File
  • Required: No
  • User Property: outputDirectory
  • Default: ${project.build.outputDirectory}