如何编译grails,vaadin和JPA

时间:2015-03-13 15:15:31

标签: grails jpa vaadin

我一周以来一直在努力让新的vaadin treetables版本正常工作,我无法解决编译依赖性。我的grails版本是2.4.2

这是我的BuildConfig.groovy

grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
grails.server.port.http = 8090
grails.project.war.file = "target/${appName}##${appVersion}.war"

grails.project.dependency.resolver = "maven" // or ivy
grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
    }
    log "verbose" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    checksums true // Whether to verify checksums on resolve

    repositories {
        inherits true // Whether to inherit repository definitions from plugins

        grailsPlugins()
        grailsHome()
        mavenLocal()
        grailsCentral()
        mavenCentral()
    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

        // runtime 'mysql:mysql-connector-java:5.1.20'
        runtime 'postgresql:postgresql:9.0-801.jdbc4'

        compile 'org.grails:grails-datastore-gorm-plugin-support:3.1.3.RELEASE'

    }

    plugins {       
        build ":tomcat:7.0.54"

        runtime ":hibernate:3.6.10.16" //":hibernate4:4.3.5.4"
        compile ":gorm-jpa:1.0.0.M1"
        compile ":hibernate-jpa-provider:1.0.0.M1"
        compile ":vaadin:7.3.9"
    }
}

这是我得到的错误:

The following artifacts could not be resolved: org.grails:grails-datastore-gorm-jpa:jar:1.0.0.RC3, org.grails:grails-datastore-jpa:jar:1.0.0.RC3: Could not find artifact org.grails:grails-datastore-gorm-jpa:jar:1.0.0.RC3 in grailsCentral (http://repo.grails.org/grails/plugins)

0 个答案:

没有答案