Can we use the Archetype 22 for AEM version 6.4.2? | Community
Skip to main content
Level 3
May 29, 2020
Solved

Can we use the Archetype 22 for AEM version 6.4.2?

  • May 29, 2020
  • 2 replies
  • 5000 views

Currently, we are in 6.4.2, and we are adding a new repo to the instance. We are planning for the AEM instance upgrade to 6.4.6 or .8 in the future( not yet decided for timeline). After building the project, we intended to all core components( because every archetype tied with diff versions- archetype 22 comes with 2.7.0 and my env using 2.5.0) dependencies from the code.

when i compare 2 pom.xml's, archetype 22 is creating extra all folder in the structure and below are the few differences present in remaining pom.xml files-

<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>${bnd.version}</version>
</plugin>

<dependencies>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.caconfig.bnd-plugin</artifactId>
<version>1.0.2</version>
</dependency>
</dependencies>

<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>

Can we use archetype 22?

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 Theo_Pendle

Hi @ramaem12

The Maven Archetype version has very little to do with the AEM version. The only critical elements are:

Here are the requirements for the 22 version:

 

Requirements

The latest version of the archetype has the following requirements:

  • Adobe Experience Manager 6.3.3.0 or higher
  • Apache Maven (3.3.9 or newer)
  • Adobe Public Maven Repository in maven settings, see Knowledge Base article for details.

2 replies

Theo_Pendle
Theo_PendleAccepted solution
Level 8
May 29, 2020

Hi @ramaem12

The Maven Archetype version has very little to do with the AEM version. The only critical elements are:

Here are the requirements for the 22 version:

 

Requirements

The latest version of the archetype has the following requirements:

  • Adobe Experience Manager 6.3.3.0 or higher
  • Apache Maven (3.3.9 or newer)
  • Adobe Public Maven Repository in maven settings, see Knowledge Base article for details.
Adobe Employee
May 29, 2020

To be on the safe side you can see a list of supported AEM versions of historical archetype versions:

https://github.com/adobe/aem-project-archetype/blob/master/VERSIONS.md

ramaem12Author
Level 3
May 29, 2020
Thanks for the link but if i am not using core components from code base, can i use the archetype 22?