diff --git a/persistence-modules/pom.xml b/persistence-modules/pom.xml
index d549f7e2de..3684efe600 100644
--- a/persistence-modules/pom.xml
+++ b/persistence-modules/pom.xml
@@ -73,7 +73,7 @@
spring-data-dynamodb
spring-data-eclipselink
spring-data-elasticsearch
-
+ spring-data-gemfire
spring-data-geode
spring-data-jpa-annotations
spring-data-jpa-crud
diff --git a/persistence-modules/spring-data-gemfire/pom.xml b/persistence-modules/spring-data-gemfire/pom.xml
index 53ce67fb6d..9b8ee89810 100644
--- a/persistence-modules/spring-data-gemfire/pom.xml
+++ b/persistence-modules/spring-data-gemfire/pom.xml
@@ -15,14 +15,9 @@
- org.springframework.data
- spring-data-gemfire
- ${spring-data-gemfire-version}
-
-
- com.gemstone.gemfire
- gemfire
- ${gemfire-version}
+ org.springframework.geode
+ spring-geode-starter
+ ${spring-geode.version}
@@ -30,17 +25,6 @@
google-collections
${google-collections-version}
-
- org.springframework
- spring-context
- ${spring-context-version}
-
-
- commons-logging
- commons-logging
-
-
-
org.springframework
spring-test
@@ -49,19 +33,10 @@
-
-
- gemstone
- http://dist.gemstone.com.s3.amazonaws.com/maven/release/
-
-
-
- 1.7.4.RELEASE
- 7.0.1
+ 1.7.4
1.0
- 4.3.0.RELEASE
- 4.3.0.RELEASE
+ 5.3.23
\ No newline at end of file
diff --git a/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/function/GemfireConfiguration.java b/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/function/GemfireConfiguration.java
index 0049f82ddc..296516aec5 100644
--- a/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/function/GemfireConfiguration.java
+++ b/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/function/GemfireConfiguration.java
@@ -2,8 +2,8 @@ package com.baeldung.spring.data.gemfire.function;
import com.baeldung.spring.data.gemfire.model.Employee;
import com.baeldung.spring.data.gemfire.repository.EmployeeRepository;
-import com.gemstone.gemfire.cache.DataPolicy;
-import com.gemstone.gemfire.cache.GemFireCache;
+import org.apache.geode.cache.DataPolicy;
+import org.apache.geode.cache.GemFireCache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
@@ -39,7 +39,6 @@ public class GemfireConfiguration {
}
@Bean
- @Autowired
CacheFactoryBean gemfireCache() {
CacheFactoryBean gemfireCache = new CacheFactoryBean();
gemfireCache.setClose(true);
@@ -49,7 +48,6 @@ public class GemfireConfiguration {
@Bean(name="employee")
- @Autowired
LocalRegionFactoryBean getEmployee(final GemFireCache cache) {
LocalRegionFactoryBean employeeRegion = new LocalRegionFactoryBean();
employeeRegion.setCache(cache);
diff --git a/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/model/Employee.java b/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/model/Employee.java
index 9c29b28dca..576690ed00 100644
--- a/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/model/Employee.java
+++ b/persistence-modules/spring-data-gemfire/src/main/java/com/baeldung/spring/data/gemfire/model/Employee.java
@@ -2,7 +2,7 @@ package com.baeldung.spring.data.gemfire.model;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.PersistenceConstructor;
-import org.springframework.data.gemfire.mapping.Region;
+import org.springframework.data.gemfire.mapping.annotation.Region;
@Region("employee")