Fix the use of spring-cloud-dependencies in to ensure correct versions across tests and apps.

This commit is contained in:
Corneil du Plessis
2023-07-19 17:22:57 +02:00
parent d982eab67d
commit 7ebd3e7598
3 changed files with 19 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
SCDIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
SCDIR=$(realpath $SCDIR)
$SCDIR/build-core.sh "-T 0.5C install -P-snapshot -P-integration -DskipTests -q"
$SCDIR/build-folder.sh ./applications/processor,./applications/sink,./applications/source,./applications/stream-applications-integration-tests,stream-applications-release-train "-T 0.5C install -P-snapshot -P-integration -DskipTests -q"
export MAVEN_THREADS=1C
export LOCAL=true
$SCDIR/mvnw install -DskipTests -T 1C -P-snapshot -P-integration -DskipTests

View File

@@ -75,13 +75,6 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
@@ -89,6 +82,20 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>

View File

@@ -1,8 +1,8 @@
{
"release_version": "4.0.0-SNAPSHOT",
"next_dev_version": "4.0.0-RC2",
"next_dev_version": "4.0.0-SNAPSHOT",
"release_train": {
"release_version": "2022.0.0-RC2",
"release_version": "2022.0.0-SNAPSHOT",
"next_dev_version": "2022.0.0-SNAPSHOT"
}
}