Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Maven achetype 11 issue with autoInstallPackage profile

Avatar

Level 3

Hi,

I am creating a new AEM project using maven archetype 11. The project builds fine but when i'm trying to use the profile "autoInstallPackage", the build is failing with error:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[ERROR] Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failure to find com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @

[ERROR] Unknown packaging: content-package

Could anyone let me know how to resolve this issue. I have already tried using profile "adobe-public" but that also didn't work for me.

1 Accepted Solution

Avatar

Correct answer by
Employee

Can you change this to https://repo.adobe.com?

then try again with the -U option, like mvn -U clean install

View solution in original post

6 Replies

Avatar

Employee

Jar-file is here: Index of /groups/public/com/day/jcr/vault/content-package-maven-plugin/0.5.1

Can you make sure you have configured repo.adobe.com also as a maven-repo?

Avatar

Level 10

Hi Priya,

Can you try this Maven 11 Adobe HELPX article: Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 11

Pls let us know, if you face any issue. It works fine for me.

~Ratna.

Avatar

Level 3

Yes Feike, I am using repo.adobe.com only as repository.

1469123_pastedImage_0.png

Avatar

Level 3

Hi Ratna,

I have created project using the same article only and it's giving me error only for the "autoInstallPackage" profile. Rest all works fine.

Avatar

Correct answer by
Employee

Can you change this to https://repo.adobe.com?

then try again with the -U option, like mvn -U clean install