-
Notifications
You must be signed in to change notification settings - Fork 437
Description
I am using default command provided on the project page and not able to generate project in Windows 11 as well in Macbook.
Command
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=52 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D aemVersion=cloud
Error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate (default-cli) on project standalone-pom: startup failed:
[ERROR] Script1.groovy: 2: unable to resolve class groovy.util.XmlSlurper
[ERROR] @ line 2, column 1.
[ERROR] import groovy.util.XmlSlurper
Maven version : Apache Maven 3.9.8 (
Java Version : java version "11.0.23" 2024-04-16 LTS
Please help!