By default acls are installed in overwrite mode.
Acls package install behavior can be changed by modifiying the pom.xml.
Update you pom build plugin "content-package-maven-plugin": with the aclHandling options.
acHandling options: - ignore - overwrite - merge - merge_preserve - clear
Example: for merging acls on installation.
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>0.0.24</version>
<extensions>true</extensions>
<configuration>
<failOnError>true</failOnError>
<username>${crx.username}</username>
<password>${crx.password}</password>
<properties>
<acHandling>merge </acHandling>
</properties>
</configuration>
</plugin>
</plugin>
No comments:
Post a Comment