Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Creating spa react project using maven archetype 23

Avatar

Level 5

Hi team,

 

I am trying to create aem project using below command

mvn -B archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=23 -DaemVersion=6.5.0 -DappTitle="AemReact" -DappId="aemreact" -DgroupId="com.aemreact" -DfrontendModule="react"

 

and getting bellow error

 

Archetype not found in any catalog. Falling back to central repository

 

maven - Apache Maven 3.6.3

 

I have added settings.xml as mentioned here  .

 

Am i missing something ?

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Try with below 

 

mvn archetype:generate -D archetypeGroupId=com.adobe.granite.archetypes -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=23 -D aemVersion=cloud -D appTitle="AEM Lab - SPA" -D appId="aemlab-spa" -D groupId="com.community.spa.aemlab" -D frontendModule=react -D includeExamples=n

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Try with below 

 

mvn archetype:generate -D archetypeGroupId=com.adobe.granite.archetypes -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=23 -D aemVersion=cloud -D appTitle="AEM Lab - SPA" -D appId="aemlab-spa" -D groupId="com.community.spa.aemlab" -D frontendModule=react -D includeExamples=n

Avatar

Level 5
Now, I am getting this error " java.nio.file.FileSystemException: C:\Users\moningi.sandeep\Desktop\aemreact\dispatcher\src\conf.d\enabled_vhosts\aemreact_publish.vhost: A required privilege is not held by the client.""