Best com.adobe.granite.archetype to select | Community
Skip to main content
October 16, 2015
Solved

Best com.adobe.granite.archetype to select

  • October 16, 2015
  • 4 replies
  • 1844 views

If I create a new Maven project using the AEM plugin I get

com.adobe.granite.archetype : sample-project-archetype:5

and

com.adobe.granite.archetype : sample-project-archetype:6

and

com.adobe.granite.archetype : sample-project-archetype:7

to select from.

What is the difference betweeen them and the archetype I create from the command line using

mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DarchetypeRepository=adobe-public-releases -DcqVersion="6.0"

?

I know com.adobe.granite.archetype : sample-project-archetype:7 creates a project with 4 child projects and the DarchetypeArtifactId=multimodule-content-package-archetype creates a project with 2 child projects.

Regards

Clive Stewart

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 aanchal-sikka

Information about the Maven Project Archetype is located at https://github.com/adobe/aem-project-archetype

 

It also suggests the AEM versions supported by a current release

 

 

4 replies

Community Advisor
October 16, 2015

You can find more information about different options for archetype.

http://cqblueprints.com/setup/maven.html

Adobe Employee
October 16, 2015
October 16, 2015

If you are creating a project for AEM 6 you should be using com.adobe.granite.archetype : sample-project-archetype:7 (5 and 6 are older versions of the archetype - unless you have a specific reason to use and older version you should use the latest version). If you are creating a project for 5.6.1 or below you should usemultimodule-content-package-archetype.  

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 6, 2023

Information about the Maven Project Archetype is located at https://github.com/adobe/aem-project-archetype

 

It also suggests the AEM versions supported by a current release

 

 

Aanchal Sikka