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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Creating spa react project using maven archetype 23

Sandeep6
Level 5
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
Arun_Patidar
Correct answer by
Community Advisor
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
Arun_Patidar
Correct answer by
Community Advisor
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

Sandeep6
Level 5
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.""