문제

I am working on running down MongoDB issues with Grails Scaffolding.

I wanted to try more current versions to see if perhaps the issues I encountered have been resolved in later versions.

From the Grails.org MongoDB Plugin Page, I see the current release is 1.0.0.GA.

This is what I am using:

plugins {
      compile ":mongodb:1.0.0.GA"
      build ":tomcat:$grailsVersion"
} 

However, when I go to the JIRA page for Grails MongoDB Plugin, I see 2 unreleased versions:

  • 1.0.1
  • 1.1.0.GA

Does anyone know where I could get these versions of the Grails MongoDB Plugin? I don't mind pulling down a nightly build and building, just couldn't find where to get them.

I tried to find them on GitHub Grails-Plugin, but did not see it. I could not find a way to download from the JIRA page.

Finally (as a last-ditch effort), I tried modifying plugins in BuildConfig.groovy, to reference 1.0.1 and 1.1.0.GA which did not work (probably since these versions are unreleased).

plugins {
      compile ":mongodb:1.1.0.GA"
      build ":tomcat:$grailsVersion"

}

Gave me the error:

| Loading Grails 2.1.0
| Configuring classpath
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:mongodb:1.1.0.GA

Thank you very much, I appreciate it!

도움이 되었습니까?

해결책

Plugin's page on grails.org did actually reference grails-data-mapping plugin group github page. There is a tag 1.0.1-RELEASE there among others, but not 1.1, which is probably master.

Maybe you can build it from source and install from a local file, with grails install-plugin.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top