I am not an expert on the Maven side, but on the Groovy side, it looks
like as part of upgrading Groovy from 2.x to 4.0.x, that the
dependency went from the "groovy-all" dependency which includes
"groovy-template" (and other modules) to just the core "groovy"
module:

https://github.com/apache/maven-archetype/commit/14e8bf72a5b

Adding back in the "groovy-template" dependency should get the
functionality you are after back. A Maven expert would be able to
assist you with where that needs to go.

Cheers, Paul.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, Sep 28, 2024 at 9:37 PM Reza Rahman
<reza_rah...@mail.com.invalid> wrote:
>
> Hi there!
>
> I am writing on behalf of the official Jakarta EE Starter project:
> https://start.jakarta.ee. We make use of Maven Archetypes in the Starter
> under the hood.
>
> 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: unable to resolve class
> groovy.text.SimpleTemplateEngine. 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?
>
> Thanks in advance,
>
> Reza
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to