Which maven archetype is compatible for AEM 6.5.4+ ? | Community
Skip to main content
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 arunpatidar

Hi @monish_gavali 
Please check version compatibility here : https://github.com/adobe/aem-project-archetype/blob/develop/VERSIONS.md 

4 replies

Murali_D
Level 2
May 28, 2024

Hi @monish_gavali 

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -D archetypeVersion=23 -DappTitle="Project Name" -DappId="projectname" -DgroupId="com.projectname" -DfrontendModule=general -DincludeExamples=n

Thank you

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 28, 2024
Arun Patidar
HrishikeshKagne
Community Advisor
Community Advisor
May 28, 2024

Hi @monish_gavali ,

For AEM 6.5.4 and above, you can use the following Maven archetype:

```
archetypeGroupId=com.adobe.granite.archetypes
archetypeArtifactId=aem-project-archetype
archetypeVersion=27
```

This archetype is compatible with AEM 6.5.4 and supports versions up to AEM 6.5.20 or above. It is recommended to use the latest version of the archetype available to ensure compatibility with your AEM version.

To create an AEM project using this archetype, you can use the following command:

```
mvn -B archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=27 -DgroupId="com.myproject" -DartifactId="myproject" -Dversion="1.0-SNAPSHOT" -Dpackage="com.myproject"
```

Make sure to replace the values for `groupId`, `artifactId`, `version`, and `package` with your project-specific values.

By using the compatible Maven archetype, you can create an AEM project that is compatible with AEM 6.5.4 and above.

Hrishikesh Kagane
kautuk_sahni
Community Manager
Community Manager
June 4, 2024

@monish_gavali Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni