Sunday, October 28, 2007

Using maven with Grails

By default Grails comes with an Ant build file to control your web application. For some of us this seems like a step backwards in technology (although apparently not for Graeme Rocher the Grails mastermind). Even though Grails doesn't support maven 1 or 2, you can get support for dependency resolution via Ivy (see Using Ivy for Dependency Resolution). Another option available is called Maven Tools for Grails (MTG). It sounds pretty promising and an improvement over Ivy, but their most recent release (v0.2) appears to work only with Grails 0.5.6 and 0.6; the current release of Grails is 1.0-RC1.

1 comments:

Arnaud said...

The web site have to be updated but the plugin works with grails >= 0.5.6. The only thing which is missing actually for 1.0-RCx is the Grails POM that we provide to help maven to resolve transitive dependencies between grails and your own project's dependencies.