Obtaining Pivotal GemFire from a Maven Repository

You can use Maven to add Pivotal GemFire to your Java project build.

To add GemFire to your Java project, you need to modify your project's pom.xml file.

  1. Add the following repository definition to your pom.xml file:
          <name>Gemfire Repository</name>
  2. Add the following dependency to your pom.xml file:
    where N.N.N corresponds to the version of GemFire that you wish to install. For example, 7.0.2.
Note: You can also obtain Spring Data GemFire using Maven. See Obtaining Spring Data Gemfire and GemFire from a Public Repository for instructions. The Spring Data GemFire distribution includes a gemfire.jar file; however, this JAR only includes the GemFire Java API and is not a full installation of GemFire.