Skip to main content
Level 1
September 9, 2026
Question

What is the appropriate AEM Project Archetype version for AEM 6.5.0 in 2026? Is there a way to use older AEM Project Archetype versions (e.g. 18 - 23)?

  • September 9, 2026
  • 1 reply
  • 10 views

Hi everyone,

I’ve been trying to build this project without much success. Here’s the command I used last:

```

mvn -B archetype:generate ^
 -D archetypeGroupId=com.adobe.aem ^
 -D archetypeArtifactId=aem-project-archetype ^
 -D archetypeVersion=23 ^
 -D aemVersion=6.5.0 ^
 -D appTitle="My Site" ^
 -D appId="mysite" ^
 -D groupId="com.mysite" ^
 -D frontendModule=general ^
 -D includeExamples=y

```

I am on windows and I do use cmd with administrator privileges.

 

I’ve tried numerous versions of the command above and I haven’t managed to get it running. Sometimes the build command fails, other times the `mvn clean install` or `mvn clean install -PautoInstallPackage` or `mvn clean install -PautoInstallSinglePackage` fails. And the times that both work and I can see the project in AEM it is still not functioning properly. For example I get an error when trying to create a page.

 

My question is more general as I’m trying to understand how this all works. I have the AEM 6.5.0 version.

From aem-project-archetype/VERSIONS.md at develop · adobe/aem-project-archetype · GitHub I can see that it’s supported from version 18 - 23. Trying those I usually get an error like so:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.4.1:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.adobe.granite.archetypes:aem-project-archetype:23)

 

I’ve tried both with `com.adobe.granite.archetypes` and `com.adobe.aem`.

 

I’ve seen on other forum threads people suggest later archetype versions (e.g. 39, 44) but those do not support 6.5.0 according to the link above.

 

I’ve also tried different maven-arhetype-plugin versions and still no luck.

 

Am I understanding something wrong with the versions? My assumption is that even if the commands work with  -D archetypeVersion=57 for example, the fact that version 57 does not support 6.5.0 causes the error I get when creating a page. Is that correct? Is there a way for me to use older archetype versions (e.g. 18 - 23)?

1 reply

Jineet_Vora
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
September 9, 2026

@IliasKa - Can you not update AEM to latest AEM 6.5 LTS 3 if you are starting afresh? If you are not, then you shouldn’t stay on AEM 6.5.0 as that is almost EOL already as mentioned here https://experienceleague.adobe.com/en/docs/experience-manager-release-information/aem-release-updates/update-releases-roadmap

You’re right to use the archetype version between 18-23 for AEM 6.5.0 but the fact that AEM 6.5 is being EOL, I think this is the reason why older archetypes are not available on Maven Central as I am clearly seeing in your ERROR.

The recommendation is to use the latest AEM 6.5 LTS and then use the supported archetype.