Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

HTTP package deployment AEM 6.5 failing

Avatar

Level 4

Hi All,

 

 We have just now upgraded our project to AEM 6.5. While we were on AEM 6.2 we use to make deployment using below HTTP maven command : 

<execution>
<id>install</id>
<goals>
<goal>http</goal>
</goals>
<phase>${maven.phase}</phase>
<configuration>
<username>${target.username}</username>
<password>${target.password}</password>
<uri>http://${target.host}/crx/packmgr/service.jsp?cmd=inst&amp;name=${artifact.name}</uri>
</configuration>
</execution>

 But it seems AEM 6.5 does not support this commands now. Any quick alternative we can use to fix this?

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi @ashishkhadpe ,

Could you please try with below command.

mvn -PautoInstallSinglePackage clean install

Thanks,

Sandeep.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

Hi @ashishkhadpe ,

Could you please try with below command.

mvn -PautoInstallSinglePackage clean install

Thanks,

Sandeep.