Expand my Community achievements bar.

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

Avatar

Level 2

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.

1 Reply

Avatar

Community Advisor

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...



Arun Patidar