Skip to content

Instantly share code, notes, and snippets.

@kuckmc01
Created June 11, 2015 18:00
Show Gist options
  • Save kuckmc01/9616256f551bd6b5b535 to your computer and use it in GitHub Desktop.
Save kuckmc01/9616256f551bd6b5b535 to your computer and use it in GitHub Desktop.
AEM 6.0 ready project using Maven Archetype and Terminal
#!/bin/bash
# Maven archetype that will create an AEM 6.0 ready project
# Might need to change permissions in order to run
# If all else fails, copy and paste everything below this line into the terminal
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.1.0" \
-DpackageGroup="My Company" \
-DcontentFolderName="mycontent" \
-DcssId="mycssId" \
-DcomponentGroupName="mycomponents" \
-DsiteName="mysite"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment