Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Build error while creating an AEM (6.4) Maven 13 archetype project.

Avatar

Level 1

I am trying to create an AEM (6.4) Maven 13 archetype project  but unable to build and deploy properly ;

mvn install -P autoInstallPackage

Build status  --- Build failure (ui.apps--  content package )

------

[ERROR] --- Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Internal Server Error

[ERROR]---- Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.5.1:install (install-package) on project  "test.ui.apps": Error while installing package.

What might be the blocker for build success ???

mvn install -P autoInstallBundle ---- Successfully able to deploy OSGi bundle to AEM (Core-- bundle)

Any help will/would be appreciated.

Thanks,

Puneet

1 Accepted Solution

Avatar

Correct answer by
Level 10

Also - I have tested many times this HELPX and most of the HELPX articles and it works nicely.

It might be the issue with M2 repository. Kindly check the same 

Thanks,

Ratna Kumar.

View solution in original post

3 Replies

Avatar

Level 10

YOu should be able to do this and it works.

Are you following this video (and article on which its based) exactly?

Avatar

Level 10

Hi Puneet,

Please follow this HELPX article which shows how to create and build maven 13 project: Creating an Adobe Experience Manager 6.4 Project using Adobe Maven Archetype 13

Also, watch the video which Scott included which shows concepts live in action.

Thanks,

Ratna Kumar.

Avatar

Correct answer by
Level 10

Also - I have tested many times this HELPX and most of the HELPX articles and it works nicely.

It might be the issue with M2 repository. Kindly check the same 

Thanks,

Ratna Kumar.