Maven build is failing due to artifact transfer issue. | Community
Skip to main content
Level 3
September 8, 2021
Solved

Maven build is failing due to artifact transfer issue.

  • September 8, 2021
  • 3 replies
  • 4601 views

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.
Best answer by Umesh_Thakur

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

3 replies

Kishore_Kumar_
Level 9
September 8, 2021

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

Prince_Shivhare
Community Advisor
Community Advisor
September 9, 2021

@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.

Umesh_Thakur
Community Advisor
Umesh_ThakurCommunity AdvisorAccepted solution
Community Advisor
September 9, 2021

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

Level 3
September 13, 2021

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

Umesh_Thakur
Community Advisor
Community Advisor
September 13, 2021

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