How to build a new project in AEM

The recommended way (or best approach) to start a new project for AEM (Adobe Experience Manager) is to use an Archetype.

Adobe has a separate project AEM Project Archetype on Github for this.

Here’s the process to create a new project codebase:

  1. Create a new folder
$ mkdir projects
$ cd projects

2. Run this command

$ mvn -B archetype:generate \
-D archetypeGroupId=com.adobe.granite.archetypes \
-D archetypeArtifactId=aem-project-archetype \
-D

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store