Which maven archetype is compatible for AEM 6.5.4 to AEM 6.5.20 or above ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @monish_gavali
Please check version compatibility here : https://github.com/adobe/aem-project-archetype/blob/develop/VERSIONS.md
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
Hi @monish_gavali
Please check version compatibility here : https://github.com/adobe/aem-project-archetype/blob/develop/VERSIONS.md
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.
@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.
Views
Replies
Total Likes
Views
Likes
Replies