Maven builds breaking due to content-package-maven-plugin | Community
Skip to main content
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 3 replies
  • 1838 views

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

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 jake_lin

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-manager.topic.html/forum__4kcx-our_nexus_hasbeens.html

3 replies

jake_lin
jake_linAccepted solution
Level 2
October 16, 2015

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-manager.topic.html/forum__4kcx-our_nexus_hasbeens.html

Level 2
October 16, 2015

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-manager.topic.html/forum__4kcx-our_nexus_hasbeens.html

 

 


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

Level 2
October 16, 2015

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