Maven build is failing due to artifact transfer issue. | Community
Skip to main content
Level 3
Sep 8, 2021 1:54 PM UTC
Solved

Maven build is failing due to artifact transfer issue.

Failed to execute goal on project dentsply-webapp-hybris-api: Could not resolve dependencies for project com.epam.dentsply:dentsply-webapp-hybris-api:bundle:3.0.1: Could not transfer artifact com.adobe.granite.bundles:json:jar:20090211_1 from/to adobe (http://repo.adobe.com/nexus/content/groups/public/😞 Failed to transfer file: http://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/bundles/json/20090211_1/json-20090211_1.jar. Return code is: 400 , ReasonPhrase:Bad Request. -> [Help 1]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Umesh_Thakur
Umesh_ThakurAccepted solution
New Participant
Sep 9, 2021 5:45 AM UTC

Instead of  http://repo.adobe.com/nexus/content/groups/public/

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

 

it should solve your issue.

Hope this will help

Umesh Thakur

8 replies

Umesh_Thakur
Umesh_ThakurAccepted solution
New Participant
Sep 9, 2021 5:45 AM UTC

Instead of  http://repo.adobe.com/nexus/content/groups/public/

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

 

it should solve your issue.

Hope this will help

Umesh Thakur

Translate
Level 3
Sep 13, 2021 5:25 AM UTC

But where to change it. Means in which file or files need to do above change?

Translate
Umesh_Thakur
New Participant
Sep 13, 2021 11:45 AM UTC

that should be your settings.xml file in your .m2 or m3 directory.

in above mentioned file you  will have one profile section there you can see url for <repository> and <pluginReposotory>. 

Just you need to update the url for the same.

Hope this helps.

Umesh Thakur

Translate
Prince_Shivhare
New Participant
Sep 9, 2021 5:44 AM UTC

@sangrampatil111 

your error itself saying that the url is not available currently.

If you find any such issues in future as well, try to check the jar file with same version which you are using in POM in adobe repository.

Translate
Kishore_Kumar_
Level 9
Sep 8, 2021 2:06 PM UTC

Hi @sangrampatil111 ,

 

Adobe nexus repo is down since few days and lot of threads is going for the same. Please try once it is up.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/not-able-to-access-repo-adobe-com/td-p/422061

Translate