Expand my Community achievements bar.

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


Arun Patidar

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


Arun Patidar

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.""