Filter the deployment descriptor

The ACR Plugin is capable of filtering the deployment descriptor (/META-INF/application-client.xml) for you, if you have the need to inject values into it during the build.

To filter the deployment descriptor add the following configuration to your POM:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-acr-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <filterDeploymentDescriptor>true</filterDeploymentDescriptor>
        </configuration>
      </plugin>
    </plugins>
  </build>
  ...
</project>