Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
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.
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
use properties file http://www.wemblog.com/2012/04/how-to-change-package-install-behavior.html
Vistas
Respuestas
Total de me gusta
and here is how to do it... http://stackoverflow.com/questions/29710649/how-to-deploy-reppolicy-files-via-maven/40764693#4076469...
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas