5.7.9 Maven Integration 2.4.4

See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # 5.7.9 Maven Integration - Reference Documentation Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari Version: 2.4.4 ## 5.7.9 Maven Integration When using the Grails Maven plugin with the Maven build tool, Grails' dependency resolution mechanics are disabled as it is assumed that you will manage dependencies with Maven's `pom.xml` file. However, if you would like to continue using Grails regular commands like run-app, test-app and so on then you can tell Grails' command line to load dependencies from the Maven `pom.xml` file instead. To do so simply add the following line to your `BuildConfig.groovy`:
    grails.project.dependency.resolution = {
        pom true
        ..
    }
The line `pom true` tells Grails to parse Maven's `pom.xml` and load dependencies from there. | Quick Reference (hide)