Expand my Community achievements bar.

SOLVED

Uninstall package using maven / vault plugin - 500 error

Avatar

Level 2

I have the plugin configured as below : 

<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>0.0.20</version>
<configuration>
<failOnError>true</failOnError>
<name>core-app</name>
<targetURL>http://localhost:4502/crx/packmgr/service.jsp</targetURL>
</configuration>
</plugin>

when i try to uninstall using: mvn content-package:uninstall

I get :
[INFO] --- content-package-maven-plugin:0.0.20:uninstall (default-cli) @ core ---
[ERROR] Request failed: java.lang.IllegalArgumentException: Several packages with name 'core-app' exist. Please specify group. (500)

How can I specify a group for this configuration? It is NOT specified in the documetnation above. Any pointers, appreciated.

Best,
Sivaram

 

Refer: http://dev.day.com/docs/en/cq/current/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.html

1 Accepted Solution

Avatar

Correct answer by
Level 10

I have passed this thread to the AEM doc team who will respond. They will help you. In the mean time -- look at this older AEM community thread -- it may help:

http://forums.adobe.com/message/4796914

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

I have passed this thread to the AEM doc team who will respond. They will help you. In the mean time -- look at this older AEM community thread -- it may help:

http://forums.adobe.com/message/4796914