Creating First AEM Project

Techzette
2 min readNov 5, 2022

--

AEM Project Structure created using archetype

In this article you will be creating the new project using latest AEM archetype and understand the structure of the project also modules involved in AEM while developing the components and templates

Prerequisites

  1. Install Java 11
  2. Setup AEM author and publish (refer my previous article for same)
  3. Install maven (refer this for maven https://maven.apache.org/install.html)

Once you have everything ready please follow below steps for creating the new project using maven archetype

  1. Use below mvn command with the options mentioned

mvn -B archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=37 -DaemVersion=cloud -DappTitle=”My Site” -DappId=”mysite” -DgroupId=”com.mysite” -DfrontendModule=general -DincludeExamples=n

AEM Structure

2. Once the command run successfully you should be able to see the above project structure

3. Next, run the below command to build the project

mvn clean install

4. Once the build is success you are ready to install the package using package manager or using maven profile

mvn clean install -PautoInstallPackage

In the next chapter we will discuss in detail on the structure of the project modules involved in AEM and which part of the code will be placed in which module of the project.

If you enjoyed reading the article, please give it a thumbs up, share it, and subscribe for future updates.

~MV

One click away to discover more about the JavaScript, Angular, React, and other frontend frameworks.

https://www.youtube.com/c/Techshareskk

--

--

Techzette

Learn more about the web development, AEM, MarTech, architecture and how systems are designed.