Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Which maven archetype is compatible for AEM 6.5.4+ ?

Avatar

Level 4

Which maven archetype is compatible for AEM 6.5.4 to AEM 6.5.20 or above ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Level 2

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

Avatar

Correct answer by
Community Advisor

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



Arun Patidar

Avatar

Community Advisor

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.

Avatar

Administrator

@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