Overwrite Translations in CRX with content-package-maven plugin
When I add a new translation to the translations file and install the translation appears. When I change the translation and install the existing value is not overwritten. I'm struggling with the plugin's documentation to understand how to change this behaviour: to update an existing node value attribute.
Here's the configuration of the plugin:
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>0.5.24</version>
<extensions>true</extensions>
<configuration>
<packaging>zip</packaging>
<properties>
<acHandling>overwrite</acHandling>
<granite.suppressSnapshots>true</granite.suppressSnapshots>
</properties>
<failOnError>true</failOnError>
<install>true</install>
<verbose>true</verbose>
<useProxy>false</useProxy>
</configuration>
</plugin>
<profile>
<id>auto-install-package</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<executions>
<execution>
<id>install-package</id>
<goals>
<goal>install</goal>
</goals>
<configuration>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<targetURL>${cq.url}/crx/packmgr/service.jsp</targetURL>
<userId>${cq.user}</userId>
<password>${cq.password}</password>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
The command I use to deploy is: mvn clean install -Pauto-install-package