JAVA-14499. Fix: Failed to read artifact descriptor for com.gemstone.gemfire:gemfire:jar:8.1.0: Could not transfer artifact com.gemstone.gemfire:gemfire:pom:8.1.0 from/to gemstone.

This commit is contained in:
jsgrah-spring 2022-11-01 14:05:34 +01:00
parent 1f1d49bcb1
commit 16cf170e17
4 changed files with 9 additions and 36 deletions

View File

@ -73,7 +73,7 @@
<module>spring-data-dynamodb</module>
<module>spring-data-eclipselink</module>
<module>spring-data-elasticsearch</module>
<!-- <module>spring-data-gemfire</module> Fixing in JAVA-11854 -->
<module>spring-data-gemfire</module>
<module>spring-data-geode</module>
<module>spring-data-jpa-annotations</module>
<module>spring-data-jpa-crud</module>

View File

@ -15,14 +15,9 @@
<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-gemfire</artifactId>
<version>${spring-data-gemfire-version}</version>
</dependency>
<dependency>
<groupId>com.gemstone.gemfire</groupId>
<artifactId>gemfire</artifactId>
<version>${gemfire-version}</version>
<groupId>org.springframework.geode</groupId>
<artifactId>spring-geode-starter</artifactId>
<version>${spring-geode.version}</version>
</dependency>
<!-- Google List API -->
<dependency>
@ -30,17 +25,6 @@
<artifactId>google-collections</artifactId>
<version>${google-collections-version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-context-version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
@ -49,19 +33,10 @@
</dependency>
</dependencies>
<repositories>
<repository>
<id>gemstone</id>
<url>http://dist.gemstone.com.s3.amazonaws.com/maven/release/</url>
</repository>
</repositories>
<properties>
<spring-data-gemfire-version>1.7.4.RELEASE</spring-data-gemfire-version>
<gemfire-version>7.0.1</gemfire-version>
<spring-geode.version>1.7.4</spring-geode.version>
<google-collections-version>1.0</google-collections-version>
<spring-context-version>4.3.0.RELEASE</spring-context-version>
<spring-test-version>4.3.0.RELEASE</spring-test-version>
<spring-test-version>5.3.23</spring-test-version>
</properties>
</project>

View File

@ -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<String, Employee> getEmployee(final GemFireCache cache) {
LocalRegionFactoryBean<String, Employee> employeeRegion = new LocalRegionFactoryBean<String, Employee>();
employeeRegion.setCache(cache);

View File

@ -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")