当我需要 grails 2.2.3 的可搜索 0.6.5 插件时,我将 BuildConfigh.groovy 修改如下:
dependencies {
compile ":searchable:0.6.5"
}
plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.8.3"
runtime ":resources:1.2"
test(":spock:0.7") {
exclude "spock-grails-support"}
// Uncomment these (or add new ones) to enable additional resources capabilities
//runtime ":zipped-resources:1.0"
//runtime ":cached-resources:1.0"
//runtime ":yui-minify-resources:0.1.5"
build ":tomcat:$grailsVersion"
runtime ":database-migration:1.3.2"
compile ':cache:1.0.1'
compile ":searchable:0.6.5"
}
保存文件后,我刷新依赖项以安装插件,但收到以下消息:
Loading Grails 2.2.3
| Configuring classpath
| Downloading: searchable-0.6.5.pom.sha1
:: problems summary ::
:::: ERRORS
grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_5/searchable-0.6.5.pom: expected='' found='org.grails.plugins'
| Downloading: searchable-0.6.5.pom.sha1
:: problems summary ::
:::: ERRORS
grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_5/searchable-0.6.5.pom: expected='' found='org.grails.plugins'
| Downloading: searchable-0.6.5.pom.sha1
:: problems summary ::
:::: ERRORS
grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_5/searchable-0.6.5.pom: expected='' found='org.grails.plugins'
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- :searchable:0.6.5
Process was killed
我认为这可能是我的互联网问题,但我检查了互联网连接是否正常。你遇到过这样的问题吗?谁能帮我解决安装可搜索 0.6.5 的问题?非常感谢。