mongodb - 无法下载Grails Datastore Gorm 3.1.3版本

标签 mongodb grails gorm grails-2.4 gorm-mongodb

我正在使用grails 2.4.4。当我将mongodb插件从3.0.1升级到最新的3.0.2时,它无法找到并安装一个jar。它的抛出:
| Error Resolve error obtaining dependencies: Failed to read artifact descriptor for org.grails:grails-datastore-gorm-plugin-support:jar:3.1.3.BUILD-SNAPSHOT (Use --stacktrace to see the full trace)
我在BuildConfig.groovy中的存储库配置为:

inherits true

mavenRepo "https://repo1.maven.org/maven2/"
mavenRepo "https://repo.grails.org/grails/plugins"
grailsPlugins()
grailsHome()
grailsCentral()

mavenLocal()
//mavenCentral()

最佳答案

我找到了解决方案。 mongodb插件如何尝试提取 BUILD-SNAPSHOT 版本grails-datastore-gorm-plugin-support ,在maven中不可用。

所以我在BuildConfig依赖项中添加了它的 RELEASE 版本
compile 'org.grails:grails-datastore-gorm-plugin-support:3.1.3.RELEASE'
而且有效。

关于mongodb - 无法下载Grails Datastore Gorm 3.1.3版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26772296/

相关文章:

hibernate - 如何在Grails/GORM/Hibernate中执行特定的SQL

database-design - GORM ID的生成和belongsTo关联?

javascript - Mongodb-用户验证失败

hibernate - withTransaction 和 withNewTransaction 有什么区别?

grails - 如何使用 Groovy 修剪列表中的所有元素?

grails - Grails应用程序生成不正确的SQL

mongodb - meteor Mocha 测试订阅

ruby-on-rails - Ruby on Rails 和 NoSQL,添加字段

mongodb - 在 Heroku 上使用 Play 框架设置 MongoLab 或 MongoHQ

grails - Grails 域模型中的继承