orx0815 opened a new pull request, #22: URL: https://github.com/apache/sling-project-archetype/pull/22
https://issues.apache.org/jira/browse/SLING-13110 This is because for unit-testing this archetype here, plugin version 3.3.1 is used and that determines the groovy version . When creating a project, the script src/main/resources/META-INF/archetype-post-generate.groovy is running at the end with latest plugin version. Build fails: ``` groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-xml is loaded in version 4.0.28 and you are trying to load version 4.0.23 ``` Output project is usable though. Workaround it to nail the version when generating a new project: ``` mvn archetype:3.3.1:generate) \ -DarchetypeGroupId=org.apache.sling \ -DarchetypeArtifactId=sling-project-archetype \ -DarchetypeVersion=1.0.14 ``` Old version does not like Java25, so it's prob best to lift this here to 3.4.1 and script to 4.0.28 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
