Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save saulovenancio/5c2bf55ba8579c799dd9 to your computer and use it in GitHub Desktop.
Save saulovenancio/5c2bf55ba8579c799dd9 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