Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Excerpt

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

Table of Contents
maxLevel2
minLevel1

Groovy Shell

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

No Format
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:

No Format
mvn groovy:console

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

No Format
[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