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

Avatar

Avatar
Validate 1
Level 1
keshav1161
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
keshav1161
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
keshav1161
Level 1

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

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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...