Error while creating CIF project using the archetype:
mvn -B archetype:generate \
-D archetypeGroupId=com.adobe.granite.archetypes \
-D archetypeArtifactId=aem-project-archetype \
-D aemVersion=6.5.11 \
-D appTitle="My Site" \
-D archetypeVersion=35 \
-D appId="mysite" \
-D groupId="com.mysite" \
-D frontendModule=general \
-D includeExamples=n \
-D includeCommerce=y
error - [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.adobe.granite.archetypes:aem-project-archetype:35) -> [Help 1]
I am following this documentation - https://experienceleague.adobe.com/docs/experience-manager-65/commerce/storefront/developing/develop...
Solved! Go to Solution.
Views
Replies
Total Likes
I can see the archetypeGroupId that you are using is incorrect. Id should be
-D archetypeGroupId=com.adobe.aem \
please try with this. I think the document needs to be updated on the link you shared.
Reference:
https://github.com/adobe/aem-project-archetype
I can see the archetypeGroupId that you are using is incorrect. Id should be
-D archetypeGroupId=com.adobe.aem \
please try with this. I think the document needs to be updated on the link you shared.
Reference:
https://github.com/adobe/aem-project-archetype
Worked. Thanks @Anish-Sinha
Hi @sue1976, please try below command, it works fine on my end.
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \ -D archetypeGroupId=com.adobe.aem \ -D archetypeArtifactId=aem-project-archetype \ -D aemVersion=6.5.11 \ -D archetypeVersion=35 \ -D appTitle="My Site" \ -D appId="mysite" \ -D groupId="com.mysite" \ -D includeExamples=n \ -D includeCommerce=y
Views
Likes
Replies
Views
Likes
Replies