0
我正在使用grails 2.2.1並嘗試安裝可搜索插件版本0.6.4。Grails可搜索插件安裝錯誤
我已經添加了一個命名代理並且它已設置。這似乎不是問題。
我已經改變了buildConfig.groovy如下:
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
mavenRepo "http://snapshots.repository.codehaus.org"
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"
}
和以下依存
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
compile ":searchable:0.6.4"
runtime 'mysql:mysql-connector-java:5.1.22'
}
編譯時,我得到了以下錯誤
| Downloading: searchable-0.6.4.pom.sha1
:: problems summary ::
:::: WARNINGS
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: #searchable;0.6.4: java.text.ParseException: inconsistent module
descriptor file found in 'http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_4/searchable-0.6.4.pom': bad organisation: expected='' found='org.grails.plugins';
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_4/searchable-0.6.4.pom: expected='' found='org.grails.plugins'
| Downloading: searchable-0.6.4.pom.sha1
:: problems summary ::
:::: WARNINGS
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
等。
任何提示?
謝謝