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:
- 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 \