Usage

The ACR Plugin is used to package a JavaEE Application Client module. There are two ways to use the ACR Plugin:

  • If the packaging type defined in the pom.xml is app-client, the package lifecycle phase can be used
      mvn package

    Pay attention that prior to Maven 3.0.4, the plugin's extension must be enabled since the app-client packaging type is new.

    <project>
      ...
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-acr-plugin</artifactId>
            <version>1.0</version>
            <extensions>true</extensions>
          </plugin>
        </plugins>
      </build>
      ...
    </project>
  • or using the acr:acr goal
      mvn acr:acr