Creating project using mvn archtype 23 issue | Community
Skip to main content
manikanthar1295
Level 5
August 16, 2021
Solved

Creating project using mvn archtype 23 issue

  • August 16, 2021
  • 2 replies
  • 947 views

Hi Team,

 

I was trying tp create project using archetypeVersion=23 but getting error like below.

Let me know how to fix this

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 manikanthar1295

Its Fixed i have used below format of to create the Project

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=26 -D appTitle="My Project" -D appId="myproject" -D groupId="com.myproject.aem" -D artifactId="myproject-aem-project" -D version="0.0.1-SNAPSHOT" -D aemVersion="6.5.4" -D includeDispatcherConfig=n -D includeExamples=n

2 replies

manikanthar1295
manikanthar1295AuthorAccepted solution
Level 5
August 16, 2021

Its Fixed i have used below format of to create the Project

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=26 -D appTitle="My Project" -D appId="myproject" -D groupId="com.myproject.aem" -D artifactId="myproject-aem-project" -D version="0.0.1-SNAPSHOT" -D aemVersion="6.5.4" -D includeDispatcherConfig=n -D includeExamples=n

kautuk_sahni
Community Manager
Community Manager
August 17, 2021

@manikanthar1295 Thank you for sharing the solution with the community. Keep contributing to this AEM community. Looking forward to more engagement from your side in the future.

-Kautuk

Kautuk Sahni
Adobe Employee
August 16, 2021

Hi @manikanthar1295 

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=26 -D appTitle="My Project" -D appId="myproject" -D groupId="com.myproject.aem" -D artifactId="myproject-aem-project" -D version="0.0.1-SNAPSHOT" -D aemVersion="6.5.5" -D includeDispatcherConfig=n -D includeExamples=n

 

I believe this should work!!!

Hope this helps!!!

Thanks