Howdy folks… been a long time ;-)
I finally found some time to spend on GMaven and I've just published 2.0-SNAPSHOT and site documentation for the upcoming release.
GMaven 2.x is focusing on script-execution (and console/shell) helpers *ONLY*. This means that 2.x will *NOT* support any compilation or stub-generation. This has been a long outstanding disconnect between the Groovy and Maven worlds and ultimately was what demotivated me from GMaven development.
These days, the Groovy Eclipse Compiler (aside from a few issues it may have) is *vastly* superior (IMO) to what GMaven was attempting to do, and really will always be better than anything it could potentially have done. For this reason I decided that it simply was not worth the effort and frustration to retain compilation/stub-generation support in GMaven.
2.x also has a dramatically simplified runtime adapter layer and presently only exposes configuration of the adapter and groovy runtime via standard plugin dependency mechanisms. I left the adapter abstraction in place however, so that in the future if needed, something more flexible (yet still plain and simple) could be put into place w/o having to rewrite it all again.
2.x has some imposed some limitations on what versions of Maven, Java and Groovy can be used. I had to draw the line somewhere and here is where it ended up:
* Java 6+
* Groovy 2.0+ and Groovy 2.1+
* Apache Maven 3.0+ and 3.1+
The default Groovy version used OOTB is 2.1.4.
There have been lots of changes, too many to enumerate here, but I think I've got most of the details in the generated documentation (though presently there is no KB/FAQ on whats different between 1.x and 2.x). A few things I want to note specifically:
The artifactId of the plugin is groovy-maven-plugin. There is no deployed org.codehaus.mojo flavor of the plugin, so folks that want command-line access w/o a project will need to configure settings.xml to include org.codehaus.gmaven in pluginGroups.
Script executions which use 'project.properties' in 1.x used this to access merged properties. In 2.x this is done via the 'properties' variable. You can still use project.properties, but this is only what is exposed in the underlying model via MavenProject.getProperties().
I'll start to collect these bits of intel and put them up into (somewhere), as well as if anyone else has any questions which may be common I'll consider adding those too.
* * *
SNAPSHOT artifacts are available here:
https://nexus.codehaus.org/content/repositories/snapshots
Source code is on a branch here:
https://github.com/groovy/gmaven/tree/gmaven-2.x
This will be replacing the master branch eventually, when its closer to making an official release.
Site documentation is up here:
http://groovy.github.io/gmaven/
I am still sorting out what I want/plan to do with the confluence-wiki and 1.x site, ie: http://gmaven.codehaus.org.
* * *
I still have some more work to do, mostly in the integration-testing space, but I think GMaven 2.x is ready for a wider audience to start playing with.
Please give it a whirl if you like, and provide any feedback you might have to the gmaven-user list:
Thanks and enjoy!
--jason