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

Creating project using mvn archtype 23 issue

Avatar

Level 6

Hi Team,

 

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

manikanthar1295_0-1629112815358.png

Let me know how to fix this

1 Accepted Solution

Avatar

Correct answer by
Level 6

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 6

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

Avatar

Administrator

@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

Avatar

Employee Advisor

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