Fork me on GitHub

Groovy Maven Plugin

See USAGE content for more details.

Hard Requirements

The Maven and Groovy version requirements are hard requirements.

When goals are executing the versions of Maven and Groovy are detected. If they are not compatible the goals will fail with an error.

Customizing Groovy Version

To customize the version of Groovy the plugin will use, override the org.codehaus.groovy:groovy-all dependency on the plugin definition in the project.

For example to use Groovy 2.0.6 instead of the default:


There is currently no way to change the Groovy version without a project. Direct execution of goals will always use the default Groovy version if no project is available. When a project is available, then pluginManagement can be used to configure direct goal execution.