[ https://issues.apache.org/jira/browse/ARCHETYPE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887020#comment-17887020 ]
Slawomir Jaranowski commented on ARCHETYPE-679: ----------------------------------------------- {{groovy-all}} depends on many other modules and many dependencies .... I'm not sure to use it. {code} [INFO] +- org.apache.groovy:groovy-all:pom:4.0.23:compile [INFO] | +- org.apache.groovy:groovy:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-ant:jar:4.0.23:compile [INFO] | | +- org.apache.ant:ant:jar:1.10.15:compile [INFO] | | +- org.apache.ant:ant-junit:jar:1.10.15:compile [INFO] | | +- org.apache.ant:ant-launcher:jar:1.10.15:compile [INFO] | | \- org.apache.ant:ant-antlr:jar:1.10.15:compile [INFO] | +- org.apache.groovy:groovy-cli-picocli:jar:4.0.23:compile [INFO] | | \- info.picocli:picocli:jar:4.7.6:compile [INFO] | +- org.apache.groovy:groovy-console:jar:4.0.23:compile [INFO] | | +- com.github.javaparser:javaparser-core:jar:3.26.2:compile [INFO] | | +- org.ow2.asm:asm-util:jar:9.7:compile [INFO] | | | +- org.ow2.asm:asm:jar:9.7:compile [INFO] | | | +- org.ow2.asm:asm-tree:jar:9.7:compile [INFO] | | | \- org.ow2.asm:asm-analysis:jar:9.7:compile [INFO] | | \- org.abego.treelayout:org.abego.treelayout.core:jar:1.0.3:compile [INFO] | +- org.apache.groovy:groovy-datetime:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-docgenerator:jar:4.0.23:compile [INFO] | | \- com.thoughtworks.qdox:qdox:jar:1.12.1:compile [INFO] | +- org.apache.groovy:groovy-groovydoc:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-groovysh:jar:4.0.23:compile [INFO] | | \- jline:jline:jar:2.14.6:compile [INFO] | +- org.apache.groovy:groovy-jmx:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-json:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-jsr223:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-macro:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-nio:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-servlet:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-sql:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-swing:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-templates:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-test:jar:4.0.23:compile [INFO] | +- org.apache.groovy:groovy-test-junit5:jar:4.0.23:compile [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.10.3:compile [INFO] | | | \- org.opentest4j:opentest4j:jar:1.3.0:compile [INFO] | | +- org.junit.platform:junit-platform-launcher:jar:1.10.3:compile [INFO] | | | \- org.junit.platform:junit-platform-engine:jar:1.10.3:compile [INFO] | | | \- org.junit.platform:junit-platform-commons:jar:1.10.3:compile [INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.10.3:compile [INFO] | +- org.apache.groovy:groovy-xml:jar:4.0.23:compile [INFO] | \- org.apache.groovy:groovy-yaml:jar:4.0.23:compile [INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.17.2:compile [INFO] | | +- org.yaml:snakeyaml:jar:2.2:compile [INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile [INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile [INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile {code} > groovy.text.SimpleTemplateEngine Not Found > ------------------------------------------ > > Key: ARCHETYPE-679 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-679 > Project: Maven Archetype > Issue Type: Bug > Components: Archetypes > Affects Versions: 3.3.0 > Reporter: Reza Rahman > Priority: Major > Fix For: 3.3.1 > > > I am posting this issue on behalf of the official Jakarta EE Starter project > at the Eclipse Foundation: > [https://start.jakarta.ee|https://start.jakarta.ee/]. We make use of Maven > Archetypes in the Starter under the hood and also as an API: > [https://github.com/eclipse-ee4j/starter/tree/master/archetype.] > We are pretty dependent on Groovy and use groovy.text.SimpleTemplateEngine > for some critical functionality: > [https://github.com/eclipse-ee4j/starter/blob/ca9b5028b7fe3b47ecf4b5e5c22e89bc941e99a0/archetype/src/main/resources/META-INF/archetype-post-generate.groovy#L144]. > > A few days ago we noticed that the Archetype is suddenly broken with the > following error: > {{[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:3.3.0:generate (default-cli) > on project standalone-pom: startup failed:}} > {{[ERROR] Script1.groovy: 144: unable to resolve class > groovy.text.SimpleTemplateEngine}} > {{[ERROR] @ line 144, column 18.}} > {{[ERROR] def engine = new groovy.text.SimpleTemplateEngine()}} > {{[ERROR] ^}} > {{[ERROR]}} > {{[ERROR] 1 error}} > This seems to coincide with the 3.3.0 release of maven-archetype-plugin. Any > idea what is going on and how to fix this? > Please LMK if you need anything from us? -- This message was sent by Atlassian Jira (v8.20.10#820010)