Expand my Community achievements bar.

SOLVED

Single maven install for both author and publish AEM

Avatar

Level 6

I am trying to install AEM project in Author and Publish by using the below maven command. but it installs only in publish. Is it possible to  install in both?

mvn -Daem.host=localhost -Daem.port=4502  -Daem.publish.host=localhost -Daem.publish.port=4503 -PautoInstallPackagePublish,autoInstallPackage  clean install

1 Accepted Solution

Avatar

Correct answer by
Level 10

I have never done this - always used Maven for 1 CQ instance at a time. See the AEM docs on this: 

https://docs.adobe.com/docs/en/cq/5-6-1/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

I have never done this - always used Maven for 1 CQ instance at a time. See the AEM docs on this: 

https://docs.adobe.com/docs/en/cq/5-6-1/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.html

Avatar

Employee Advisor

Hi,

it's doable, but you need to build your own Maven profile then.

Jörg