From e9e8d4527363799c667cff3f2f36f57a97539ff8 Mon Sep 17 00:00:00 2001
From: marcus-j <18111840+marcus-j@users.noreply.github.com>
Date: Tue, 12 Nov 2024 13:45:17 +0100
Subject: [PATCH 1/2] chore: bumps spring boot and spring kafka versions
[AI:CoPilot]
---
.github/workflows/maven-publish-github.yml | 2 +-
.github/workflows/maven-publish-maven-central.yml | 2 +-
.github/workflows/maven.yml | 2 +-
pom.xml | 4 ++--
.../deckard/configuration/OverrideAutoConfigurationTest.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/maven-publish-github.yml b/.github/workflows/maven-publish-github.yml
index 0fc5459..e9e664b 100644
--- a/.github/workflows/maven-publish-github.yml
+++ b/.github/workflows/maven-publish-github.yml
@@ -19,7 +19,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'adopt'
- java-version: '11'
+ java-version: '17'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
diff --git a/.github/workflows/maven-publish-maven-central.yml b/.github/workflows/maven-publish-maven-central.yml
index cda4c9c..1fb2e41 100644
--- a/.github/workflows/maven-publish-maven-central.yml
+++ b/.github/workflows/maven-publish-maven-central.yml
@@ -27,7 +27,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'adopt'
- java-version: '11'
+ java-version: '17'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1080dab..0243095 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -19,6 +19,6 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
- java-version: '11'
+ java-version: '17'
- name: Build with Maven
run: mvn -B verify --file pom.xml
diff --git a/pom.xml b/pom.xml
index badf4da..25bbb69 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,14 +57,14 @@
org.springframework.boot
spring-boot-starter-parent
- 2.7.18
+ 3.3.5
UTF-8
UTF-8
- 1.8
+ 17
3.5.2
diff --git a/src/test/java/de/idealo/kafka/deckard/configuration/OverrideAutoConfigurationTest.java b/src/test/java/de/idealo/kafka/deckard/configuration/OverrideAutoConfigurationTest.java
index 906b7e6..141d8a7 100644
--- a/src/test/java/de/idealo/kafka/deckard/configuration/OverrideAutoConfigurationTest.java
+++ b/src/test/java/de/idealo/kafka/deckard/configuration/OverrideAutoConfigurationTest.java
@@ -16,7 +16,7 @@
import static org.assertj.core.api.Assertions.assertThat;
@ExtendWith(SpringExtension.class)
-@SpringBootTest
+@SpringBootTest(properties = "spring.main.allow-bean-definition-overriding=true")
class OverrideAutoConfigurationTest {
@Autowired
From bada4f7054c0985d29c1f7fa584d37843f28848a Mon Sep 17 00:00:00 2001
From: marcus-j <18111840+marcus-j@users.noreply.github.com>
Date: Tue, 12 Nov 2024 14:32:27 +0100
Subject: [PATCH 2/2] chore: bumps version and adds 2.x.x compatibility info
[AI:CoPilot]
---
README.md | 1 +
pom.xml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 528a5f5..a11ec8f 100644
--- a/README.md
+++ b/README.md
@@ -149,6 +149,7 @@ deckard:
Deckard was originally built on Spring Kafka 2.0.x which is only compatible with Spring Boot 2.0.x.
To go forward with development for Spring Boot 2.1.x, but also support projects based on Spring Boot 2.0.x, we introduced the following versioning scheme:
+- 2.x -> supports Spring Kafka 3.2.x and is compatible with Spring Boot 3.3.x
- 1.x -> supports Spring Kafka 2.2.x and is compatible with Spring Boot 2.1.x
- 0.x (LEGACY) -> supports Spring Kafka 2.1.x and is compatible with Spring Boot 2.0.x
diff --git a/pom.xml b/pom.xml
index 25bbb69..d5a1a6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
de.idealo.kafka
deckard
- 1.0.6-RELEASE
+ 2.0.0-RELEASE
jar
Deckard