Not able to create AEM project in local | Community
Skip to main content
tulasi909
March 5, 2021
Solved

Not able to create AEM project in local

  • March 5, 2021
  • 3 replies
  • 2408 views

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/maven-metadata.xml

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 gouravl12825593

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

3 replies

gouravl12825593Accepted solution
March 5, 2021

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

kautuk_sahni
Community Manager
Community Manager
March 11, 2021
@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
VeenaVikraman
Community Advisor
Community Advisor
March 5, 2021

@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/qaq-p/199654

 

Thanks

Veena ✌

kautuk_sahni
Community Manager
Community Manager
April 5, 2022

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