Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Error while installing package in AEM server via content-package-maven-plugin

Avatar

Level 1
content-package-maven-plugin - Version 0.5.24

pom.xml
-----------

<plugin>

<groupId>com.day.jcr.vault</groupId>

<artifactId>content-package-maven-plugin</artifactId>

<version>0.5.24</version>

<configuration>

<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>

<failOnError>true</failOnError>

<failOnMissingEmbed>true</failOnMissingEmbed>

<userId>${user}</userId>

<password>${password}</password>

<useProxy>false</useProxy>

<timeout>20</timeout>

</configuration>

</plugin>

 

<plugins>
---------------------------
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<executions>
<execution>
<id>install-package</id>
<goals>
<goal>install</goal>
</goals>
<configuration>
<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
-----------------------------------

showing error - http://<url>:<port>/crx/packmgr/service.jsp [ERROR] Missing response status information in response: <?xml version="1.0" encoding="UTF-8"?> <html> <head> <title>Content modified /crx/packmgr/service.jsp</title> </head> <body> <h1>Content modified /crx/packmgr/service.jsp</h1> <table> <tbody> <tr> <td>Status</td> <td> <div id="Status">200</div> </td> </tr> <tr> <td>Message</td> <td> <div id="Message">OK</div> </td> </tr> <tr> <td>Location</td> <td> <a href="/crx/packmgr/service.jsp" id="Location">/crx/packmgr/service.jsp</a> </td> </tr> <tr> <td>Parent Location</td> <td> <a href="/crx/packmgr" id="ParentLocation">/crx/packmgr</a> </td> </tr> <tr> <td>Path</td> <td> <div id="Path">/crx/packmgr/service.jsp</div> </td> </tr> <tr> <td>Referer</td> <td> <div id="Referer">about:blank</div> </td> </tr> <tr> <td>ChangeLog</td> <td> <div id="ChangeLog">&lt;pre&gt;modified(&quot;/crx/packmgr/service.jsp/file/jcr:lastModified&quot;);&lt;br/&gt;modified(&quot;/crx/packmgr/service.jsp/file/jcr:mimeType&quot;);&lt;br/&gt;modified(&quot;/crx/packmgr/service.jsp/file/jcr:data&quot;);&lt;br/&gt;modified(&quot;/crx/packmgr/service.jsp/install&quot;);&lt;br/&gt;&lt;/pre&gt;</div> </td> </tr> </tbody> </table> <p> <a href="/crx/packmgr/service.jsp">Modified Resource</a> </p> <p> <a href="/crx/packmgr">Parent of Modified Resource</a> </p> </body> </html>


 
 
 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor