GMaven 2.0-SNAPSHOT is available

25 views
Skip to first unread message

planet57

unread,
Jun 13, 2013, 11:19:29 PM6/13/13
to gmave...@googlegroups.com, d...@groovy.codehaus.org, us...@groovy.codehaus.org, gmave...@googlegroups.com

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:


gmave...@googlegroups.com


Thanks and enjoy!


--jason


Vincent Kok

unread,
Sep 18, 2013, 7:48:52 PM9/18/13
to gmave...@googlegroups.com, d...@groovy.codehaus.org, us...@groovy.codehaus.org, gmave...@googlegroups.com, ja...@planet57.com
Hi Jason,

Any plans to cut a release soon? Really like the revamped gmaven.

Cheers,

Vincent

Jason Dillon

unread,
Sep 18, 2013, 7:50:46 PM9/18/13
to gmave...@googlegroups.com, Vincent Kok, us...@groovy.codehaus.org, d...@groovy.codehaus.org, gmave...@googlegroups.com
I don't have any reason not to release it ;-)  You are the first person to provide any feedback… hazzah!

I'll add it to my list of stuff to do in the near future.

--jason

Vincent Kok

unread,
Sep 18, 2013, 7:54:15 PM9/18/13
to gmave...@googlegroups.com, Vincent Kok, us...@groovy.codehaus.org, d...@groovy.codehaus.org, gmave...@googlegroups.com, ja...@planet57.com
Awesome! What does near future mean to you?

Cheers,

Vincent

Jason Dillon

unread,
Sep 18, 2013, 7:59:55 PM9/18/13
to gmave...@googlegroups.com, Vincent Kok, us...@groovy.codehaus.org, d...@groovy.codehaus.org, gmave...@googlegroups.com, ja...@planet57.com
next day or so... or early next week.

--jason

Vincent Kok

unread,
Sep 18, 2013, 8:01:04 PM9/18/13
to gmave...@googlegroups.com, Vincent Kok, us...@groovy.codehaus.org, d...@groovy.codehaus.org, gmave...@googlegroups.com, ja...@planet57.com
Sweet

Jason Dillon

unread,
Sep 19, 2013, 8:10:28 PM9/19/13
to gmave...@googlegroups.com, Vincent Kok, d...@groovy.codehaus.org, gmave...@googlegroups.com, us...@groovy.codehaus.org, Vincent Kok
gmaven 2.0 is staged.  if you can kindly verify if its happy, I'll pull the trigger and release it.

--jason

Jason Dillon

unread,
Sep 19, 2013, 9:16:27 PM9/19/13
to gmave...@googlegroups.com, Vincent Kok, d...@groovy.codehaus.org, gmave...@googlegroups.com, us...@groovy.codehaus.org, Vincent Kok
Forgot to mention the staged repository url:


--jason

Vincent Kok

unread,
Sep 20, 2013, 9:04:56 PM9/20/13
to Jason Dillon, gmave...@googlegroups.com, d...@groovy.codehaus.org, gmave...@googlegroups.com, us...@groovy.codehaus.org
Hey Jason,

Just gave it a spin and it works like a charm. So go ahead and pull the trigger!

Cheers,

Vincent

Jason Dillon

unread,
Sep 23, 2013, 1:38:51 PM9/23/13
to Vincent Kok, gmave...@googlegroups.com, d...@groovy.codehaus.org, gmave...@googlegroups.com, us...@groovy.codehaus.org
GMaven 2.0 has been released :-]

--jason
Reply all
Reply to author
Forward
0 new messages