Maven achetype 11 issue with autoInstallPackage profile | Community
Skip to main content
Level 3
April 19, 2018
Solved

Maven achetype 11 issue with autoInstallPackage profile

  • April 19, 2018
  • 6 replies
  • 3959 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Feike_Visser1

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

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

6 replies

Feike_Visser1
Adobe Employee
Adobe Employee
April 19, 2018

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?

Ratna_Kumar
Level 10
April 19, 2018

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.

Level 3
April 19, 2018

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

Level 3
April 19, 2018

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.

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
April 19, 2018

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

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

Level 3
April 19, 2018

That worked for me. Thanks