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
    <project>
      ...
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-acr-plugin</artifactId>
            <version>3.0.0</version>
            <extensions>true</extensions>
          </plugin>
        </plugins>
      </build>
      ...
    </project>
  • or using the acr:acr goal
      mvn acr:acr