Skip to content

Instantly share code, notes, and snippets.

@auniverseaway
Last active February 6, 2019 01:36
Show Gist options
  • Save auniverseaway/21800b9a7848b2bf880c to your computer and use it in GitHub Desktop.
Save auniverseaway/21800b9a7848b2bf880c to your computer and use it in GitHub Desktop.
Maven AEM Archetype 10 install command

Adobe's docs aren't quite updated to reflect the changes in the archetype. You can get the new hotness by using this command:

mvn archetype:generate \
-DarchetypeRepository=https://repo.adobe.com/nexus/content/groups/public/ \
-DarchetypeGroupId=com.adobe.granite.archetypes \
-DarchetypeArtifactId=aem-project-archetype \
-DarchetypeVersion=10 \
-DgroupId=my-group-id \
-DartifactId=myproject \
-Dversion=1.0-SNAPSHOT \
-Dpackage=com.mycompany.myproject \
-DappsFolderName=myproject \
-DartifactName="My Project" \
-DcqVersion="6.0" \
-DpackageGroup="My Company"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment