Hi all,
This is regarding generating CQ Package using maven-vault-plugin in pom.xml . I am trying to set "AC Handling" in my package.
using CURL command you can do this as below (passing -F acHandling=Merge)
Create your package first
Then Update your package adding acHandling=Merge
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/update.jsp -F path=/etc/packages/rohit/rohit.zip -F packageName=rohit -F groupName=rohit -F acHandling=Merge
Now trying to figure out how I can add "acHandling=Merge" using maven-vault-plugin in pom.xml
Below is my pom.xml (Tried adding <acHandling>Merge</acHandling> but its not picking this attribute)
----------------------------------
<groupId>com.day.jcr.vault</groupId>
<artifactId>maven-vault-plugin</artifactId>
<extensions>true</extensions>
<!--<inherited>true</inherited> -->
<configuration>
<group>att-group</group>
<userId>${cq.installer.userid}</userId>
<password>${cq.installer.password}</password>
<targetURL>http://${executor.host}:${executor.port}/crx/packmgr/service.jsp</targetURL>
<packageFile>target/${project.artifactId}-${project.version}.zip</packageFile>
<timeout>${cq.installer.timeout}</timeout>
<useProxy>false</useProxy>
<acHandling>Merge</acHandling>
<filters>
<filter>
<root>${vault.filter.root}</root>
</filter>
</filters>
</configuration>
</plugin>
----------------------------------
Any help is appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
use properties file http://www.wemblog.com/2012/04/how-to-change-package-install-behavior.html
Views
Replies
Total Likes
and here is how to do it... http://stackoverflow.com/questions/29710649/how-to-deploy-reppolicy-files-via-maven/40764693#4076469...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies