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-dynamodb</module>
<module>spring-data-eclipselink</module> <module>spring-data-eclipselink</module>
<module>spring-data-elasticsearch</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-geode</module>
<module>spring-data-jpa-annotations</module> <module>spring-data-jpa-annotations</module>
<module>spring-data-jpa-crud</module> <module>spring-data-jpa-crud</module>

View File

@ -15,14 +15,9 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.data</groupId> <groupId>org.springframework.geode</groupId>
<artifactId>spring-data-gemfire</artifactId> <artifactId>spring-geode-starter</artifactId>
<version>${spring-data-gemfire-version}</version> <version>${spring-geode.version}</version>
</dependency>
<dependency>
<groupId>com.gemstone.gemfire</groupId>
<artifactId>gemfire</artifactId>
<version>${gemfire-version}</version>
</dependency> </dependency>
<!-- Google List API --> <!-- Google List API -->
<dependency> <dependency>
@ -30,17 +25,6 @@
<artifactId>google-collections</artifactId> <artifactId>google-collections</artifactId>
<version>${google-collections-version}</version> <version>${google-collections-version}</version>
</dependency> </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> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId> <artifactId>spring-test</artifactId>
@ -49,19 +33,10 @@
</dependency> </dependency>
</dependencies> </dependencies>
<repositories>
<repository>
<id>gemstone</id>
<url>http://dist.gemstone.com.s3.amazonaws.com/maven/release/</url>
</repository>
</repositories>
<properties> <properties>
<spring-data-gemfire-version>1.7.4.RELEASE</spring-data-gemfire-version> <spring-geode.version>1.7.4</spring-geode.version>
<gemfire-version>7.0.1</gemfire-version>
<google-collections-version>1.0</google-collections-version> <google-collections-version>1.0</google-collections-version>
<spring-context-version>4.3.0.RELEASE</spring-context-version> <spring-test-version>5.3.23</spring-test-version>
<spring-test-version>4.3.0.RELEASE</spring-test-version>
</properties> </properties>
</project> </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.model.Employee;
import com.baeldung.spring.data.gemfire.repository.EmployeeRepository; import com.baeldung.spring.data.gemfire.repository.EmployeeRepository;
import com.gemstone.gemfire.cache.DataPolicy; import org.apache.geode.cache.DataPolicy;
import com.gemstone.gemfire.cache.GemFireCache; import org.apache.geode.cache.GemFireCache;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
@ -39,7 +39,6 @@ public class GemfireConfiguration {
} }
@Bean @Bean
@Autowired
CacheFactoryBean gemfireCache() { CacheFactoryBean gemfireCache() {
CacheFactoryBean gemfireCache = new CacheFactoryBean(); CacheFactoryBean gemfireCache = new CacheFactoryBean();
gemfireCache.setClose(true); gemfireCache.setClose(true);
@ -49,7 +48,6 @@ public class GemfireConfiguration {
@Bean(name="employee") @Bean(name="employee")
@Autowired
LocalRegionFactoryBean<String, Employee> getEmployee(final GemFireCache cache) { LocalRegionFactoryBean<String, Employee> getEmployee(final GemFireCache cache) {
LocalRegionFactoryBean<String, Employee> employeeRegion = new LocalRegionFactoryBean<String, Employee>(); LocalRegionFactoryBean<String, Employee> employeeRegion = new LocalRegionFactoryBean<String, Employee>();
employeeRegion.setCache(cache); 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.Id;
import org.springframework.data.annotation.PersistenceConstructor; import org.springframework.data.annotation.PersistenceConstructor;
import org.springframework.data.gemfire.mapping.Region; import org.springframework.data.gemfire.mapping.annotation.Region;
@Region("employee") @Region("employee")