-
Notifications
You must be signed in to change notification settings - Fork 437
Description
The version org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate is throwing
[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
When run
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"
Instruction from Usage section at https://github.com/adobe/aem-project-archetype/
However then change from 3.3.1 to 3.2.1 as below
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate
-D archetypeGroupId=com.adobe.aem
-D archetypeArtifactId=aem-project-archetype
-D archetypeVersion=52
-D appTitle="Demo Site"
-D appId="demosite"
-D groupId="com.demosite"
It works successfully
The Archetype version org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate should be fixed
Thanks