Expand my Community achievements bar.

SOLVED

Not able to create AEM project in local

Avatar

Level 1

https://repo.adobe.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of adobe-public-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public Transfer failed for https://repo.adobe.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml [WARNING] Failure to transfer org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from https://repo.adobe.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of adobe-public-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/to adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public Transfer failed for https://repo.adobe.com/nexus/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/m...

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi,

Please configure your settings.xml in Apache Maven install directory and add Adobe Public Repository URL in adobe-profile section.

Follow this KB article https://helpx.adobe.com/in/experience-manager/kb/SetUpTheAdobeMavenRepository.html.

If it does not work, try to run the mvn command with -U option and with sudo in macos/Linux and with Admin privileges in Windows.

Ex:  mvn clean install -PautoInstallPackage -U

View solution in original post

4 Replies

Avatar

Correct answer by
Level 1

Hi,

Please configure your settings.xml in Apache Maven install directory and add Adobe Public Repository URL in adobe-profile section.

Follow this KB article https://helpx.adobe.com/in/experience-manager/kb/SetUpTheAdobeMavenRepository.html.

If it does not work, try to run the mvn command with -U option and with sudo in macos/Linux and with Admin privileges in Windows.

Ex:  mvn clean install -PautoInstallPackage -U

Avatar

Administrator
@gouravl12825593, Thank you for posting the solution with AEM Community. This helps in posterity. Keep the wonderful contribution going (both as learner and contributor).


Kautuk Sahni

Avatar

Community Advisor

@tulasi909 

 

  Could you tell which link you are following or what steps you did  so that we can guide you properly ? I understand your issue and have seen it before too , but may be the steps you followed so far might give us the right idea on this issue. It could either be a firewall issue or issue with the repositories added. 

 

Have you added the Adobe Public profile to you settings.xml ? Follow this link https://helpx.adobe.com/in/experience-manager/kb/SetUpTheAdobeMavenRepository.html

 

And if it still don't solve , add  -Padobe-public to the command and try running. 

 

Just adding some links with similar issues highlighted

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/problem-facing-maven-build...

 

Thanks

Veena ✌

Avatar

Administrator

Instructions on how to use repo are displayed on https://repo.adobe.com/index.html

Please use "https" protocol instead of "http"

Also, have a look at: https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en

 



Kautuk Sahni