BAEL-19376 Do we have any Spring Milestone/RC repos defined?

- Removed spring milestone repositories dependencies, used Central GA releases as a fix
This commit is contained in:
Dhawal Kapil 2019-12-22 18:50:33 +05:30
parent 3f52bb890f
commit 4d4328da8b
7 changed files with 14 additions and 118 deletions

View File

@ -26,11 +26,6 @@
<id>kotlin-eap</id> <id>kotlin-eap</id>
<url>http://dl.bintray.com/kotlin/kotlin-eap</url> <url>http://dl.bintray.com/kotlin/kotlin-eap</url>
</repository> </repository>
<repository>
<id>spring-milestone</id>
<name>Spring Milestone Repository</name>
<url>http://repo.spring.io/milestone</url>
</repository>
</repositories> </repositories>
<pluginRepositories> <pluginRepositories>
@ -45,7 +40,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId> <artifactId>spring-boot-dependencies</artifactId>
<version>2.2.0.M4</version> <version>2.2.2.RELEASE</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>

View File

@ -61,32 +61,10 @@
</plugins> </plugins>
</build> </build>
<!-- Extra repositories for R2DBC-H2 -->
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<r2dbc-h2.version>0.8.0.M8</r2dbc-h2.version> <r2dbc-h2.version>0.8.1.RELEASE</r2dbc-h2.version>
<h2.version>1.4.200</h2.version>
</properties> </properties>
</project> </project>

View File

@ -17,6 +17,7 @@
<dependency> <dependency>
<groupId>io.projectreactor</groupId> <groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId> <artifactId>reactor-core</artifactId>
<version>${reactor-core.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -213,31 +214,16 @@
</plugins> </plugins>
</build> </build>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<properties> <properties>
<kotlin.version>1.2.40</kotlin.version> <kotlin.version>1.2.40</kotlin.version>
<kotlin-maven-plugin.version>1.2.40</kotlin-maven-plugin.version> <kotlin-maven-plugin.version>1.2.40</kotlin-maven-plugin.version>
<spring-tx.version>5.2.0.M2</spring-tx.version> <spring-tx.version>5.2.2.RELEASE</spring-tx.version>
<spring-data-r2dbc.version>1.0.0.M2</spring-data-r2dbc.version> <spring-data-r2dbc.version>1.0.0.RELEASE</spring-data-r2dbc.version>
<r2dbc-h2.version>0.8.0.M8</r2dbc-h2.version> <r2dbc-h2.version>0.8.1.RELEASE</r2dbc-h2.version>
<httpclient.version>4.5.2</httpclient.version> <httpclient.version>4.5.2</httpclient.version>
<h2.version>1.4.199</h2.version> <h2.version>1.4.200</h2.version>
<couchbaseMock.version>1.5.23</couchbaseMock.version> <couchbaseMock.version>1.5.23</couchbaseMock.version>
<reactor-core.version>3.3.1.RELEASE</reactor-core.version>
</properties> </properties>
</project> </project>

View File

@ -1,8 +1,10 @@
package com.baeldung.r2dbc.repository; package com.baeldung.r2dbc.repository;
import com.baeldung.r2dbc.model.Player; import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.r2dbc.repository.query.Query;
import org.springframework.data.repository.reactive.ReactiveCrudRepository; import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import com.baeldung.r2dbc.model.Player;
import reactor.core.publisher.Flux; import reactor.core.publisher.Flux;
public interface PlayerRepository extends ReactiveCrudRepository<Player, Integer> { public interface PlayerRepository extends ReactiveCrudRepository<Player, Integer> {

View File

@ -43,8 +43,7 @@ public class R2dbcApplicationIntegrationTest {
"DROP TABLE IF EXISTS player;", "DROP TABLE IF EXISTS player;",
"CREATE table player (id INT AUTO_INCREMENT NOT NULL, name VARCHAR2, age INT NOT NULL);"); "CREATE table player (id INT AUTO_INCREMENT NOT NULL, name VARCHAR2, age INT NOT NULL);");
statements.forEach(it -> client.execute() // statements.forEach(it -> client.execute(it) //
.sql(it) //
.fetch() // .fetch() //
.rowsUpdated() // .rowsUpdated() //
.as(StepVerifier::create) // .as(StepVerifier::create) //

View File

@ -64,38 +64,6 @@
</plugins> </plugins>
</build> </build>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
<properties> <properties>
<spring-boot.version>2.2.0.RELEASE</spring-boot.version> <spring-boot.version>2.2.0.RELEASE</spring-boot.version>
</properties> </properties>

View File

@ -35,36 +35,4 @@
</plugins> </plugins>
</build> </build>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
</project> </project>