Paulo Poiati | Blog

@SuppressWarnings(“unused”)

  • Home
  • About
  • Github
  • GMongo
  • SandBox
Twitter Facebook RSS
Monthly Archives: July 2010

GMongo available at Maven Central

Posted on 03/07/2010 by Paulo Poiati
1 comment

A maintenance release (0.5.1) of GMongo was launched. It just fixed a bug with com.mongodb.DB#createCollection.

But the good news is the GMongo availability in the Maven Central (http://repo2.maven.org/maven2/).

Maven:

<dependency>
      <groupId>com.gmongo</groupId>
      <artifactId>gmongo</artifactId>
      <version>0.5.1</version>
</dependency>

Ivy:

<dependency org="com.gmongo" name="gmongo" rev="0.5.1"/>

Groovy Grape:

@Grab(group='com.gmongo', module='gmongo', version='0.5.1')

This should compile and run seamlessly in an environment with Groovy 1.7.2 (or later):

@Grab("com.gmongo:gmongo:0.5.1")
import com.gmongo.GMongo

def mongo = new GMongo("127.0.0.1", 27017)
def db = mongo.getDB('myDb')

db.greetings.insert(hello: 'world')

Updated: Version 0.6 is now available as well.

Share and Enjoy

Categories: GMongo, Groovy, NoSQL | Tags: gmongo, groovy, java, mongodb, nosql
  • Recent Posts

    • Easyhash: An easy interface to generate md5 and sha1 hash in hexadecimal format
    • Grails / GORM: Changing default id name and type from an entity
    • Groovy / GMongo tips and tricks
    • GMongo available at Maven Central
    • GMongo 0.5 Released
  • Categories

    • GMongo
    • GORM
    • Grails
    • Groovy
    • Java
    • NoSQL
    • Objective-c
    • Programming
  • Tags

    C easyhash gmongo grails gorm groovy groovy java mongodb nosql Objective-c opensource
  • Blogroll

    • Rodrigo Lazoti Blog
  • Links

    • Mac Developers
  • Recent Comments

    • rohit on Groovy / GMongo tips and tricks
    • Paulo Poiati on GMongo 0.5 Released
    • Steve on GMongo 0.5 Released
    • Steve on GMongo 0.5 Released
    • Paulo Poiati on GMongo 0.5 Released
© Paulo Poiati | Blog. Proudly Powered by WordPress | Nest Theme by YChong