LATEST VERSION: 9.1.1 - CHANGELOG
Pivotal GemFire® v9.1

Obtaining Pivotal GemFire from a Maven Repository

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

  1. Access to the Pivotal Commercial Maven Repository requires a one-time registration step to obtain an account. The URL for both registration and subsequent logins after registration is https://commercial-repo.pivotal.io/login/auth. Click on the Create Account link to register. You will receive a confirmation email; follow the directions in this email to activate your account.

  2. After account activation, log in at https://commercial-repo.pivotal.io/login/auth to access the configuration information in the Pivotal GemFire Release Repository.

  3. To add GemFire to your Java project, you need to modify your project’s pom.xml file. Add the following repository definition to your pom.xml file:

       <repository>
           <id>gemfire-release-repo</id>
           <name>Pivotal GemFire Release Repository</name>
           <url>https://commercial-repo.pivotal.io/data3/gemfire-release-repo/gemfire</url>
       </repository>
    
  4. Add the following dependencies to your pom.xml file:

    <dependencies>
       <dependency>
          <groupId>io.pivotal.gemfire</groupId>
          <artifactId>geode-core</artifactId>
          <version>VERSION-ID</version>
       </dependency>
       <dependency>
          <groupId>io.pivotal.gemfire</groupId>
          <artifactId>geode-wan</artifactId>
          <version>VERSION-ID</version>
       </dependency>
       <dependency>
          <groupId>io.pivotal.gemfire</groupId>
          <artifactId>geode-cq</artifactId>
          <version>VERSION-ID</version>
       </dependency>
    </dependencies>
    

    where VERSION-ID is the version identifier of GemFire that you wish to install. For example, 9.0.0.

  5. To access these artifacts, you must add an entry to your .m2/settings.xml file:

       <settings>
           <servers>
               <server>
                   <id>gemfire-release-repo</id>
                   <username>MY-USERNAME@example.com</username>
                   <password>MY-DECRYPTED-PASSWORD</password>
               </server>
           </servers>
       </settings>
    

where you provide the values for MY-USERNAME@example.com and MY-DECRYPTED-PASSWORD. As of Maven version 2.1.0, encrypted passwords are supported in this settings.xml file. See https://maven.apache.org/guides/mini/guide-encryption.html for details on the encryption.