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

Maven builds breaking due to content-package-maven-plugin

Avatar

Level 3

Hello,

Recently, our project builds have started to break. Realized this when I was setting up the project on a new machine (no existing .m2 folder). It fails with the below error. Has anything changed recently? How should I go about fixing this? I tried mapping to 0.0.23 version of content-package-maven-plugin, but get a similar error.

Please advice.

[ERROR] The build could not read 2 projects -> [Help 1] [ERROR] [ERROR]   The project com.cq:UI:1.0-SNAPSHOT (C:\dir\cq5\UI\pom.xml) has 2 errors [ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in adobe (http://repo.adobe.com/nexus/content/groups/public/) -> [He [ERROR]     Unknown packaging: content-package @ line 19, column 13 [ERROR] [ERROR]   The project com.cq:config:1.0-SNAPSHOT (C:\dir\cq5\Config\pom.xml) has 2 errors [ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in adobe (http://repo.adobe.com/nexus/content/groups/public/) -> [He [ERROR]     Unknown packaging: content-package @ line 15, column 13 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Regards,

Mayank

1 Accepted Solution

Avatar

Correct answer by
Level 2

Based on your stack trace, your build is trying to download artifacts from http://repo.adobe.com/nexus/content/groups/public/:

Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in adobe (http://repo.adobe.com/nexus/content/groups/public/)

 

It seems like Adobe recently made a change which caused the HTTP version of their Nexus to stop working, only the HTTPS version is available (https://repo.adobe.com/nexus/content/groups/public/).

I have asked a question about whether the non-secured version will be coming back or not in my post, but I'm still waiting for a reply:
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2

Based on your stack trace, your build is trying to download artifacts from http://repo.adobe.com/nexus/content/groups/public/:

Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in adobe (http://repo.adobe.com/nexus/content/groups/public/)

 

It seems like Adobe recently made a change which caused the HTTP version of their Nexus to stop working, only the HTTPS version is available (https://repo.adobe.com/nexus/content/groups/public/).

I have asked a question about whether the non-secured version will be coming back or not in my post, but I'm still waiting for a reply:
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

Avatar

Level 3

Jake Lin wrote...

Based on your stack trace, your build is trying to download artifacts from http://repo.adobe.com/nexus/content/groups/public/:

 

It seems like Adobe recently made a change which caused the HTTP version of their Nexus to stop working, only the HTTPS version is available (https://repo.adobe.com/nexus/content/groups/public/).

I have asked a question about whether the non-secured version will be coming back or not in my post, but I'm still waiting for a reply:
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

 

 


Thanks Jake. That did solve my build issue. I have subscribed to your thread to see what Adobe replies. Thanks again.

Avatar

Level 3

Hello Jake,

I just received a confirmation from Adobe that they have set a redirect for http://repo.adobe.com/nexus/content/groups/public/ to point to HTTPS repo version.

So, you can can continue to use the HTTP version of the repo. Thought it will be helpful to share.

- Mayank