Groovy version and extensions

NOTICE: Plugin maven-invoker-plugin in versions older than 3.3.0 has dependency on groovy-all artifact from Groovy 2.

Plugin maven-invoker-plugin in version 3.4.0 has only dependency on Groovy 4 core add common extensions:

  • org.apache.groovy:groovy:4.0.12
  • org.apache.groovy:groovy-json:4.0.12
  • org.apache.groovy:groovy-xml:4.0.12

If you need additional Groovy extension in your scripts ( post, pre, setup, ... ) you must add a dependency to plugin definition, eg:


NOTICE: In plugin version 3.3.0 only Groovy 4 extensions can be used.