创建Ldap Plug ii Grails 2.3

时间:2014-01-24 19:20:10

标签: grails grails-plugin

我正在尝试将我的项目从Grails 2.2.4移到Grails 2.3.5,我需要一些插件,其中一个是Ldap的。要访问我的存储库,我有一个URL:

grailsRepo "http:// svn................"

我的依赖解析器是maven

Y之后有以下代码:

plugins {
    // plugins for the build system only
    build ":tomcat:7.0.50"

    // plugins for the compile step
    compile ":scaffolding:2.0.1"
    compile ':cache:1.1.1'

    // plugins needed at runtime but not for compilation
    runtime ":hibernate:3.6.10.7"// or ":hibernate4:4.1.11.6" or hibernate:3.6.10.7
    runtime ":database-migration:1.3.8"
    runtime ":jquery:1.10.2.2"
    runtime ":resources:1.2.1"
    compile ":ldap:0.8.3.2"
}

我收到了下一个错误

The following artifacts could not be resolved: org.grails.plugins:ldap:zip:0.8.3.2, org.grails.plugins:spring-security-ldap-dcas:zip:1.0.6: Could not find artifact org.grails.plugins:ldap:zip:0.8.3.2 in grailsCentral (http://repo.grails.org/grails/plugins)

|运行'grails dependency-report'以获取更多信息。

1 个答案:

答案 0 :(得分:0)

看起来最新版本的ldap插件是0.8.2 - 请参阅http://grails.org/plugin/ldap

如果这是您本地仓库中的自定义版本,请尝试切换到常春藤解析器