Groovy Testing Maven Plugin

The Groovy Testing Maven plug-in makes it easy to compile and run developer tests written in Groovy. This plug-in differs from the Groovy distribution Maven plug-in in one key approach: the plug-in is intended for developers coding on the Java platform who wish to utilize Groovy in a non invasive manner. The Quality Labs Groovy Testing Maven plug-in handles all associated Groovy dependencies, compiles each Groovy test into normal Java byte-code, and invokes JUnit to run the tests.

You may download it by running the following maven command (all on one line):

maven -Dmaven.repo.remote=http://www.qualitylabs.org/maven/repository,http://www.ibiblio.org/maven
     -DartifactId=groovytest-plugin 
     -DgroupId=groovytest-plugin 
     -Dversion=jsr-05
     plugin:download
      

Then run maven groovytest:test to run your project's groovy tests.