Expand my Community achievements bar.

SOLVED

Maven build is failing due to artifact transfer issue.

Avatar

Level 4

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-200.... Return code is: 400 , ReasonPhrase:Bad Request. -> [Help 1]

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

8 Replies

Avatar

Community Advisor

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

Avatar

Community Advisor

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

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 4

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

Avatar

Community Advisor

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

Avatar

Community Advisor

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

and which maven command you are using?

Avatar

Level 4

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.