I have been writing blog posts on HTML5, CSS3, JavaScript and Angular. Just to take my blog beyond Frontend and also to share my knowledge on other technologies with Developer community, I have decided to write articles on Adobe Experience Manager as well.

This is the first post on AEM, and I will show you how to create simple AEM project using Apache Maven.

Come on in..

Apache Maven:

Skip this portion of the article if you already have Apache Maven installed in your machine.

You must have Apache Maven 3.3.9+ installed in your machine before you start creating AEM project.

Follow this article from Apache – Installing Apache Maven, to install and configure Maven in your machine.

Once after you installed Maven, just check if it was installed successfully by running below command:

$ mvn -version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: H:Softwaresapache-maven-3.6.3
Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: C:Program FilesJavajdk1.8.0_241jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Generate AEM project:

We will use Maven Archetype aem-project-archetype to create AEM project with below properties:

Property Name Value Comments
archetypeGroupId com.adobe.aem Archetype Group ID
archetypeArtifactId aem-project-archetype Archetype ID
archetypeVersion 24 Archetype Version
appTitle “My eLearning Site” Application Title
appId “elearning” Application ID
groupId “com.pgguru.elearning” App Group ID
aemVersion “cloud” AEM Version – you can also use 6.5.5, 6.3 etc.,


Check AEM Project Archetype for other Archetype properties.

Run Maven Command:

Run below command to generate Maven project.

mvn -B archetype:generate 
 -D archetypeGroupId=com.adobe.aem 
 -D archetypeArtifactId=aem-project-archetype 
 -D archetypeVersion=24 
 -D appTitle="My eLearning Site" 
 -D appId="elearning" 
 -D groupId="com.pgguru.elearning" 
 -D aemVersion="cloud" 

Project should have been created and you should see folder structure like below:

In the next post, I will talk about how to build and deploy the above project o local AEM runtime (Instance).

Please do share if you have something to say about this article in the comment section down below.

Happy learning!


Join the Newsletter

Subscribe to get our latest content by email.
    We won't send you spam. Unsubscribe at any time.