Obtain GemFire XD from a Maven Repository

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

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

  1. Add the following repository definition to your pom.xml file:
    <repositories>
       <repository>
          <id>gemfirexd-repository</id>
          <name>GemFire XD Repository</name>
          <url>http://dist.gemstone.com/maven/release</url>
       </repository>
    </repositories>
    
  2. For developing peer client applications, listeners, or procedures, add the following dependencies to your pom.xml file:
    <dependencies>
       <dependency>
          <groupId>com.pivotal.gemfirexd</groupId>
          <artifactId>gemfirexd</artifactId>
          <version>N.N.N</version>
       </dependency>
    </dependencies>
    
    where N.N.N corresponds to the version of GemFire XD that you wish to install. For example, 1.3.0.
    For thin-client development, add this dependency:
    <dependencies>
       <dependency>
          <groupId>com.pivotal.gemfirexd</groupId>
          <artifactId>gemfirexd-client</artifactId>
          <version>N.N.N</version>
       </dependency>
    </dependencies>