0

I'm using grails 2.4.4. When I'm upgrading mongodb plugin from 3.0.1 to latest 3.0.2, its unable to find and install one jar. Its throwing:

| 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)

My repository configuration in BuildConfig.groovy are:

inherits true

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

mavenLocal()
//mavenCentral()
Shashank Agrawal
  • 25,161
  • 11
  • 89
  • 121

1 Answers1

0

I got the solution. Some how mongodb plugin was trying to pull BUILD-SNAPSHOT version of grails-datastore-gorm-plugin-support which is not available in maven.

So I added its RELEASE version in BuildConfig dependency

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

And it worked.

Shashank Agrawal
  • 25,161
  • 11
  • 89
  • 121