Skip to content

Project Generation failing #1274

@sachin-arora

Description

@sachin-arora

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions