Looking for a simple way to easily manage your marketing content and assets? Consider Adobe Experience Manager (AEM) for a smooth experience. AEM is a comprehensive content management solution for building websites, mobile apps and forms, and makes it easy to deliver digital experiences.

With AEM your company can:

  • Build brand loyalty with your customer base
  • Deliver consistent content across all digital media
  • Provide customers with experiences that are responsive, relevant and social

As you think about building an AEM project, consider the options for an open-source software tool. Apache Maven is an open-source solution that automates builds and provides quality project information, and it’s the recommended build management tool for AEM projects. So how do you set up an AEM project using Maven? Let’s walk through the steps of creating an AEM project and how to run a successful build.

Before you get started, make sure you have Eclipse, Maven (apache-maven-3.3.9) or JDK (jdk1.8). Also be sure to install and configure Vault. In your pom.xml, you may have to change or add some dependencies based on your project needs. Once these are in place you can take the following seven steps:

Phase One: Configure Vault

From your C:\{CRX Installation}\opt\filevault\filevault.zip extract the folder to C:\ vault-cli-3.1.6

Go to your system variable and edit Path Variable.

Type in C:\vault-cli-3.1.6\bin at the end of the value.

Phase Two: Create project

Download and install Eclipse and extract the .zip to C:\eclipse.

From the command prompt, go to your eclipse workspace. If you have Maven installed, type this command on one line: mvn archetype:generate -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/

AdobeScreenShot1

AdobeScreenShot2

Provide all the important information. (Note: The values below should not be used to create projects for production. They are provided for demonstration purposes only.)

Define value for property 'groupId': : group-id
Define value for property 'artifactId': : myproject
Define value for property 'version':  1.0-SNAPSHOT: : Y
Define value for property 'package':  group-id: : com.siriuscom.myproject
Define value for property 'appsFolderName': : myproject
Define value for property 'artifactName': : My Project
[INFO] Using property: cqVersion = 5.6.1
Define value for property 'packageGroup': : My Company

Then confirm the properties configuration by typing in Y and then hitting enter.

AdobeScreenShot3

 

After a successful build, open up your eclipse and ‘import’ the newly created project.

At Sirius we have a dedicated team that can help you learn more about AEM and how to build your projects. Contact us today so our experts can help you get started.