Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

  • No labels