Expand my Community achievements bar.

SOLVED

Maven archetype 40 is not downloading

Avatar

Level 4

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"

 

kirthi_murali_0-1677068086775.png

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @kirthim ,

 

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

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @kirthim ,

 

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

Avatar

Correct answer by
Employee Advisor

Hi @kirthim ,

 

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