Problem resolving Grails plugin dependencies with Maven

I'm using Grails 1.3.7 with Idea 10.5.2 and using a pom file to declare my jar dependencies.  However, my Grails plugin dependencies are declared in BuildConfig.groovy.

It looks like Idea is having trouble finding the jar dependencies of grails plugins declared in my BuildConfig.groovy file.

My application builds and starts up fine with maven, but if I try to build in Idea, I get a few compilation errors in the generated groovy stubs for both the ui-performance plugin and the tomcat plugin:

Cannot find class org.mozilla.javascript.EvaluatorException  (which should be in yuicompressor.jar, a dependency of the ui-performance plugin)

Cannot find class org.apache.catalina.LifecycleListener (should be in tomcat-core.jar, a dependency of the tomcat plugin).

Here's an excerpt from my BuildConfig.groovy:

grails.project.dependency.resolution = {
    pom true
    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'ehcache'
    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    repositories {


    plugins {

    dependencies {


Has anyone run into this issue before?

1 comment

The jars in question live in the lib directory of their respective plugins, so in this case:



Please sign in to leave a comment.