0

我的 Grails 项目虽然在 IntelliJ 中运行良好,但无法通过命令行或 Jenkins 构建,但报告了一个依赖项问题,该依赖项在我的 BuildConfig.xml 中列出。

问题:

Error Plugin release-3.0.0 requires version [2.3 > *] of Grails which your current Grails installation does not meet. Please try install a different version of the plugin or Grails.

BuildConfig.xml 中的依赖关系:

plugins {
        compile(":csv:0.3.1")
        compile ":executor:0.3"
        compile ":audit-logging:0.5.4"
        compile ':ckeditor:3.6.2.1'
        build ':codenarc:0.17'
        runtime ":database-migration:1.1"
        compile ":famfamfam:1.0.1"
        compile ":filterpane:2.0.1.1"
        compile ":hibernate:$grailsVersion"
        compile ":jquery:1.7.2"
        compile ":jquery-ui:1.8.15"
        compile ":jquery-ui-timepicker:0.9.8.1"
        compile ":mail:1.0"
        compile ":resources:1.1.6"
        compile ":rest:0.7"
        test ":spock:0.6"
        test ':code-coverage:1.2.5'
        compile ':spring-security-core:1.2.7.3'
        compile ':spring-security-ui:0.2'
        compile ":taggable:1.0.1"
        compile ":tomcat:$grailsVersion"
        compile ':enhanced-scaffolding:1.0.RC2'
        compile ':build-test-data:2.0.2'
        compile ':jslint:0.5'
    }
    dependencies {
        runtime 'postgresql:postgresql:9.0-801.jdbc3'
        compile 'net.sourceforge.jexcelapi:jxl:2.6.10'
        compile 'org.apache.poi:poi:3.7'
        compile 'org.jsoup:jsoup:1.5.2'
        compile 'org.codehaus.gpars:gpars:0.12'
        compile 'commons-io:commons-io:2.0.1'
        runtime 'owasp-java-html-sanitizer:owasp-java-html-sanitizer:r99'
        compile 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
        test 'org.objenesis:objenesis:1.2'
    }

谁能推荐一种方法来跟踪哪个插件或依赖项导致丢失错误?

TIA,

4

1 回答 1

0

尝试查看依赖关系报告

grails dependency-report
于 2013-06-13T17:32:40.673 回答