Highlighted

AEM POM file for generating maven project with specific modules and with out sample content

Avatar

Avatar

keshav1161

Avatar

keshav1161

keshav1161

28-11-2018

Hi!! I am new to AEM. Can you please help me to get started for creating the folder structure without sample content (Ex: HelloService.java that gets generated by default with maven) and only with specific modules (Ex: Only core and content). Any procedure is fine either with maven or any other method. If you could provide some sample commands, that would be really helpful.

PS: I'm using AEM 6.1

Thanks.

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

28-11-2018

You can use maven command to generate project with sample code and content

e.g.

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \

-DarchetypeGroupId=com.adobe.granite.archetypes \

-DarchetypeArtifactId=aem-project-archetype \

-DarchetypeVersion=10 \

-DarchetypeCatalog=https://repo.adobe.com/nexus/content/groups/public/

Adobe Experience Manager Help | Creating your first Adobe Experience Manager 6.2 Project using Adobe...