maven archtype for AEMaaCS | Community
Skip to main content
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 Suraj_Kamdi

@sravs508 

Use the following command to generate the maven project archtype for AEM as a cloud service

mvn -B archetype:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=cloud \
 -D appTitle="Sample Site" \
 -D appId="sample-site" \
 -D groupId="com.samplesite"

4 replies

Anudeep_Garnepudi
Community Advisor
Community Advisor
December 17, 2020
sravs508Author
Level 2
December 17, 2020
thanks Anudeep_Garnepudi , so it means if i use archtype 19 in aem 6.4 then to migrate i need to upgrade the archtype?
Suraj_Kamdi
Community Advisor
Suraj_KamdiCommunity AdvisorAccepted solution
Community Advisor
December 17, 2020

@sravs508 

Use the following command to generate the maven project archtype for AEM as a cloud service

mvn -B archetype:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=cloud \
 -D appTitle="Sample Site" \
 -D appId="sample-site" \
 -D groupId="com.samplesite"
Suraj Kamdi
arunpatidar
Community Advisor
Community Advisor
December 18, 2020
Arun Patidar
shelly-goel
Adobe Employee
Adobe Employee
December 19, 2020

@sravs508

AEM cloud service support is available in Archetype 23 onwards and the latest Archetype is 24.
To set up the project with latest archetype, you can refer here: https://github.com/adobe/aem-project-archetype


You would have to provide "aemVersion=cloud" in the mvn archetype:generate command. Refer the above link for all the other available properties.

sravs508Author
Level 2
December 22, 2020
Thanks for the reply, My current AEM version is 6.4 and uses archtype 13 and if i need to migrate to cloud i need to upgrade to latest archtype and then follow the migration process?