<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<group>aem-guides/wknd</group>
<filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>
<properties>
<acHandling>merge_preserve</acHandling>
</properties>
<embeddeds>
<embedded>
<groupId>com.adobe.aem.guides</groupId>
<artifactId>wknd-sites-guide.core</artifactId>
<target>/apps/wknd/install</target>
</embedded>
</embeddeds>
<targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL>
</configuration>
</plugin>
Note the `properties` and `acHandling` tags.
To verify that it works, build, and deploy your package to an AEM instance. Then go to Package Manager, click over your project package and choose Edit. Go to the Advanced tab. The AC Handling option should be set to 'Merge Preserve'.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.