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
  • 4602 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?

Level 3
September 13, 2021

okeeeey, Can you please share the entire stacktrace of the error then?

and which maven command you are using?


Sorryy!!! Not possible to share full stack trace due to privacy issue.I have made changes

you told.  But URL is not changing. http is not changing to https.

 

MVN cmd: mvn clean install -Pauto-deploy -DskipTests=true

Error: 

Failed to execute goal on project XYZ: Could not resolve dependencies for project com.epam.dentsply:XYZ: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-200.... Return code is: 400 , ReasonPhrase:Bad Request.