Maven archetype 40 is not downloading | Community
Skip to main content
Level 3
February 22, 2023
Solved

Maven archetype 40 is not downloading

  • February 22, 2023
  • 2 replies
  • 956 views

Hi,

Tried creating a new maven project with archetype version 40. But I get the following error.

 

Command:

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=40 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite"

 

 

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 nitesh_kumar-1

Hi @pixislinger ,

 

From the screenshot it looks like maven is trying to connect to http://repo.adobe.com, (missing https) could you please check and update your settings.xml as mentioned here:-

 

https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en 

 

Hope that helps!

 

Regards,

Nitesh

2 replies

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 22, 2023

Hi @pixislinger ,

 

Are you behind a firewall or proxy on your laptop, if yes, then you might need to create settings.xml file under users/<YOUR__USER>/.m2

 

https://maven.apache.org/settings.html#Proxies

 

Thanks,

Ritesh Mittal

nitesh_kumar-1
Adobe Employee
nitesh_kumar-1Adobe EmployeeAccepted solution
Adobe Employee
February 22, 2023

Hi @pixislinger ,

 

From the screenshot it looks like maven is trying to connect to http://repo.adobe.com, (missing https) could you please check and update your settings.xml as mentioned here:-

 

https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en 

 

Hope that helps!

 

Regards,

Nitesh