Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Not able to create AEM project in local

tulasi909
Level 1
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
gouravl12825593
Correct answer by
Level 1
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

3 Replies
gouravl12825593
Correct answer by
Level 1
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

kautuk_sahni
Community Manager
Community Manager
@gouravl12825593, Thank you for posting the solution with AEM Community. This helps in posterity. Keep the wonderful contribution going (both as learner and contributor).
Veena_Vikram
Community Advisor
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 ✌