Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM Project Setup Issue

Avatar

Level 7

Hi I am trying to setup aem project using eclipse but after selecting archetype and clicking on next select or create server window is not coming. Please refer below screenshots for reference.

akshaybhujbale_0-1655104598457.png

After click on next 

akshaybhujbale_1-1655104636054.png

@sunil_kumar_ @Himanshu_Jain @arunpatidar  Please help

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@akshaybhujbale Run above command as a elevated user or Run as Administrator or try excluding dispatcher module from build if you don't need that.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetyp...

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D artifactId="mysite" -D version="0.0.1-SNAPSHOT" -D aemVersion=6.5.13 -D frontendModule=none -D includeExamples=y -D includeDispatcherConfig=n -D includeErrorHandler=y

View solution in original post

9 Replies

Avatar

Community Advisor

Hi,

Use Command line, it is juts one time activity

https://github.com/adobe/aem-project-archetype 



Arun Patidar

Avatar

Level 7

Hi @arunpatidar 

tried using this command :

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D aemVersion=6.5.7 -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite"

 but getting this error 

akshaybhujbale_0-1655108577428.png

 

Avatar

Community Advisor

Create a new folder and try in that again .

Himanshu Jain

Avatar

Community Advisor

Try to comment your vhost file in dispatcher module and re-run it.

Himanshu Jain

Avatar

Correct answer by
Community Advisor

@akshaybhujbale Run above command as a elevated user or Run as Administrator or try excluding dispatcher module from build if you don't need that.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetyp...

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=36 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D artifactId="mysite" -D version="0.0.1-SNAPSHOT" -D aemVersion=6.5.13 -D frontendModule=none -D includeExamples=y -D includeDispatcherConfig=n -D includeErrorHandler=y

Avatar

Level 3

Set your Node version to 12.16.2

NPM version 6.14.4

Java version: 11

 

Use the below to generate project.

 

mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=27 -D appTitle="My Test Project" -D appId="my-test-project" -D groupId="com.my.test" -D frontendModule=general -D includeExamples=n -D aemVersion=6.5.9 -D includeErrorHandler=y -D archetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -D includeDispatcherConfig=n

For react or angular update frontendModule=react or angular!