When trying to create an AEM project using archetype 39, it shows build failure.
Command Used: mvn -B archetype:generate \ -D archetypeGroupId=com.adobe.aem \ -D archetypeArtifactId=aem-project-archetype \ -D archetypeVersion=39 \ -D aemVersion=cloud \ -D appTitle="My Site" \ -D appId="mysite" \ -D groupId="com.mysite" \ -D frontendModule=general \ -D includeExamples=n
Error Message while creating project using archetype 39 is as below:
Below are the configurations that I have on my local:
Java version: 11.0.16.1
Maven Version: Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Can someone help me on it please? Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Can you open command prompt as administrator and try?
Views
Replies
Total Likes
Please check the similar issue discussed before for Archteype 35
Views
Replies
Total Likes
Hi @srk381
Can you please try this command by opening cmd as adminstrator
mvn -B archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=39 -DaemVersion=cloud -DappTitle="My Site" -DappId="mysite" -DgroupId="com.mysite" -DfrontendModule=general -DincludeExamples=n
Hope this works,
Thanks,
Krishna
Hi @srk381,
Try using the following command:
mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=39 -D aemVersion=cloud -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D frontendModule=general
I hope this helps.
When using the command mentioned above, it still shows following error for me:
Views
Replies
Total Likes
Can you open command prompt as administrator and try?
Views
Replies
Total Likes
Hi @srk381 ,
Try removing backslash '\' from your command and see if it resolves the issue. I see similar kind of issue reported below-
Thanks,
Ritesh Mittal
Views
Replies
Total Likes
@srk381 Looks like there are some extra spaces after -D in your cmd, also you could remove '\'. You could try this -
mvn -B archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=39 -DaemVersion=cloud -DappTitle="My Site" -DappId="mysite" -DgroupId="com.mysite" -DfrontendModule=general -DincludeExamples=n
This should work.
Views
Replies
Total Likes
Views
Likes
Replies