Expand my Community achievements bar.

Archetype is not taking while creating a AEM project in eclipse.

Avatar

Former Community Member

Dear Team,

I clicked AEM sample module and while I selected the Archetype and it got selected. After I click next nothing is happening.

I configured the Archetype Local Archetype (Manually) Archetype is not taking. So I configured with the Remote catalog using https://repo.adobe.com/nexus/content/groups/public/archetype-catalog.xml

Please let me know what mistake am doing in configuring.

Thanks,

Ramki C

6 Replies

Avatar

Level 10

What archetype you are using to create project?

Avatar

Level 7

Hi Ramki,

Try with this below command. This works for me.

mvn archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault  -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=my-group-id -DartifactId=myproject -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany.myproject -DappsFolderName=myproject -DartifactName="myproject" -DcqVersion="6.0" -DpackageGroup="mycompany"

 

Thanks

Tuhin

Avatar

Level 10

Hi Ramki,

You can use the latest archetype 10. it will work for AEM6.1 too..

Archetype version 10:  mvn archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=10 -DarchetypeRepository=https://repo.adobe.com/nexus/content/groups/public/

Thanks,
Ratna Kumar.