adobe / adobe/aem-project-archetype

Project Generation failing

Open
#1,274 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
596
Forks
432
Avg merge
10d 6h
Merged PRs (30d)
1

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!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided archetype generation command with Maven 3.9.8 and Java 11, using the reported Windows or macOS setup. Investigate why generation cannot resolve groovy.util.XmlSlurper in Script1.groovy; done means the command completes successfully and generates the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.