Expand my Community achievements bar.

SOLVED

Getting MVN error

Avatar

Level 4

Hi Team,

 

[ERROR] Unresolvable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.day.jcr.vault:content-package-maven-plugin:jar:0.5.1: The following artifacts could not be resolved: com.day.jcr.vault:content-package-maven-plugin-parent:pom:0.5.1 (absent): Could not transfer artifact com.day.jcr.vault:content-package-maven-plugin-parent:pom:0.5.1 from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public Connection reset -> [Help 2]

[ERROR]     Unknown packaging: content-package @ line 34, column 16

 

 

Not able to access the below AEM repo URL.

<releaseRepository-URL>https://repo.adobe.com/nexus/content/groups/public</releaseRepository-URL>

Repository URL is not available!!! What is the alternative for this?

https://repo.adobe.com/nexus/content/groups/public

shyamasundarks_0-1699428710116.png

 

AEM profile for accessing the AEM repo

 

Regards,

Shyam

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @shyamasundar-ks 

 

Please try by adding "adobe-public" profile to the mvn command like: mvn clean install -PautoInstallPackage,adobe-public

 

https://techrevel.blog/2019/10/10/content-package-maven-plugin1-0-2-could-not-be-resolved/

 

 

Also, please refer to this Thread Solved: Facing Error: The project com.adobe.aem.itc.efs:it... - Adobe Experience League Community - ...


Aanchal Sikka

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Hello @shyamasundar-ks 

 

Please try by adding "adobe-public" profile to the mvn command like: mvn clean install -PautoInstallPackage,adobe-public

 

https://techrevel.blog/2019/10/10/content-package-maven-plugin1-0-2-could-not-be-resolved/

 

 

Also, please refer to this Thread Solved: Facing Error: The project com.adobe.aem.itc.efs:it... - Adobe Experience League Community - ...


Aanchal Sikka

Avatar

Community Advisor

@shyamasundar-ks  you can try using -Padobe-public in your maven command

Avatar

Level 1

The artifact is definitely there, you can see it listed in the maven metadata or if you access the pom directly it seems to me that there is something cutting your connection in between for whatever reason. Could be a (corporate) VPN, (corporate) firewall and/or (corporate) proxy (usually the latter).

 

I usually work around it by downloading the artifacts I need manually (since browser access directly is usually not a problem) and by putting all relevant artifacts in your local maven repo. This way, you can bypass the download and can work in offline mode if need be.

It would look something like this in your local .m2 repo

3xil3_0-1699432580035.png

This is for 1.0.2, but you get the idea

Avatar

Administrator

@shyamasundar-ks Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

 



Kautuk Sahni