Skip to: Site menu | Main content

GMaven 

Mailing Lists | Source

Integration of Groovy into Maven.

Running Groovy Tools Print

If you already have Maven installed, then GMaven is the quickest path to running some Groovy tools!

Groovy Shell

Provides very convenient command-line access to the Groovy language:

mvn groovy:shell

Which should look something like this:

For more information please see the documentation for Groovy Shell.

Groovy Console

For folks that prefer a GUI over command-line access:

mvn groovy:console

After running, Maven will spit out something similar to this:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'groovy'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [groovy:console] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [groovy:console]

And then display the GUI console window, waiting for it to be closed before continuing:

For more information please see the documentation for Groovy Console.

Resources

Goal Documentation