Expand my Community achievements bar.

Best com.adobe.granite.archetype to select


Level 6

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

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


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


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.


Clive Stewart

3 Replies


Level 9

You can find more information about different options for archetype.



Level 8

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.  

page footer