Using GemFire from Maven.

with 2 comments

If you’re using GemFire in your software, there’s a good chance you’d like to build it using Maven. GemFire is hosted in a Maven repository but the details don’t seem to be documented, so this post is a bit of a “Missing Manual” entry.

It’s pretty easy, you need to set up the GemFire repository and add it as a dependency in your pom.xml.



And dependency:


If you want to see all the versions of GemFire available you can on the repo root page.

I used this in the course of putting together a Continuous Query client for GemFire, which lets you run SQL-like queries against GemFire that returns matches in real-time as data enters GemFire. So you can run something like “SELECT * from /myregion WHERE totalsale > 100″ and any time an object is inserted into GemFire that has a totalsale value greater than 100 you’re immediately notified of it. It’s pretty interesting and the client is a nice way to interactively discover the system’s capabilities.

One other thing that might not be totally obvious is that GemFire is free for development use, there is a non-expiring license to use it for up to 3 connections (clients or members in the distributed system), so feel free to try it out, play around give feedback.

Written by Carter Shanklin

November 1st, 2011 at 6:05 am

Posted in GemFire

Tagged with , , ,

2 Responses to 'Using GemFire from Maven.'

Subscribe to comments with RSS or TrackBack to 'Using GemFire from Maven.'.

  1. Proper repository url is: http://dist.gemstone.com/maven/release/

    and then groupId is as usual without any strange prefix:


    12 Dec 11 at 2:49 pm

  2. Well I guess that shows how much I know about Maven. The syntax is fixed now.

    Carter Shanklin

    8 Feb 12 at 2:47 am

Leave a Reply