Ramblings

December 11, 2009

Building groovy projects with maven

Filed under: automation, groovy, maven — michaelangela @ 4:02 am

So now that I know that Java and Groovy can coexist, the next question is can maven be used to compile a groovy project.

Building Groovy Projects – GMaven – Codehaus

GMaven has kick-ass support for compiling Groovy projects with Maven!

And not only that but it can generate POM files for you tooBuilding Groovy Projects – GMaven – Codehaus

To help get Groovy projects started faster, you can use the gmaven-archetype-basic. This will create a new project with the basic POM configuration and some example classes to get you started quickly:

mvn archetype:generate -DarchetypeGroupId=org.codehaus.groovy.maven.archetypes \
-DarchetypeArtifactId=gmaven-archetype-basic -DarchetypeVersion=<version>

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: