Creating spa react project using maven archetype 23 | Community
Skip to main content
Level 4
October 23, 2020
Solved

Creating spa react project using maven archetype 23

  • October 23, 2020
  • 1 reply
  • 1466 views

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 ?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 25, 2020

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
Arun Patidar
Sandeep6Author
Level 4
October 28, 2020
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.""