diff --git a/CHANGELOG.md b/CHANGELOG.md
index bafcceba..6e1d5a52 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+### 10.0.0
+* upgraded to Spring Boot 4
+
### 9.2.0
* Added BOM (Bill of materials)
diff --git a/infobip-spring-data-bom/pom.xml b/infobip-spring-data-bom/pom.xml
index cdb03cdb..adb266b5 100644
--- a/infobip-spring-data-bom/pom.xml
+++ b/infobip-spring-data-bom/pom.xml
@@ -4,7 +4,7 @@
com.infobip
infobip-spring-data-bom
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
pom
Infobip Spring Data Querydsl
@@ -52,7 +52,7 @@
- 3.1.0
+ 4.0.0-RC2
diff --git a/infobip-spring-data-common/pom.xml b/infobip-spring-data-common/pom.xml
index 2829bf80..37d38890 100644
--- a/infobip-spring-data-common/pom.xml
+++ b/infobip-spring-data-common/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-common
diff --git a/infobip-spring-data-jdbc-annotation-processor-common/pom.xml b/infobip-spring-data-jdbc-annotation-processor-common/pom.xml
index 8d582b64..0dafa713 100644
--- a/infobip-spring-data-jdbc-annotation-processor-common/pom.xml
+++ b/infobip-spring-data-jdbc-annotation-processor-common/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-jdbc-annotation-processor-common
diff --git a/infobip-spring-data-jdbc-annotation-processor/pom.xml b/infobip-spring-data-jdbc-annotation-processor/pom.xml
index 9943f154..206245cd 100644
--- a/infobip-spring-data-jdbc-annotation-processor/pom.xml
+++ b/infobip-spring-data-jdbc-annotation-processor/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-jdbc-annotation-processor
diff --git a/infobip-spring-data-jdbc-querydsl-boot-starter/pom.xml b/infobip-spring-data-jdbc-querydsl-boot-starter/pom.xml
index 12fd727a..a8c1db78 100644
--- a/infobip-spring-data-jdbc-querydsl-boot-starter/pom.xml
+++ b/infobip-spring-data-jdbc-querydsl-boot-starter/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-jdbc-querydsl-boot-starter
diff --git a/infobip-spring-data-jdbc-querydsl/pom.xml b/infobip-spring-data-jdbc-querydsl/pom.xml
index 70576f66..8c7fc22a 100644
--- a/infobip-spring-data-jdbc-querydsl/pom.xml
+++ b/infobip-spring-data-jdbc-querydsl/pom.xml
@@ -6,7 +6,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-jdbc-querydsl
diff --git a/infobip-spring-data-jdbc-querydsl/src/test/java/com/infobip/spring/data/jdbc/TestConfiguration.java b/infobip-spring-data-jdbc-querydsl/src/test/java/com/infobip/spring/data/jdbc/TestConfiguration.java
new file mode 100644
index 00000000..ac567a86
--- /dev/null
+++ b/infobip-spring-data-jdbc-querydsl/src/test/java/com/infobip/spring/data/jdbc/TestConfiguration.java
@@ -0,0 +1,24 @@
+package com.infobip.spring.data.jdbc;
+
+import org.flywaydb.core.Flyway;
+import org.springframework.boot.autoconfigure.flyway.FlywayMigrationStrategy;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class TestConfiguration {
+
+ @Bean
+ public FlywayMigrationStrategy clean() {
+ return flyway -> {
+ // Rebuild Flyway with clean enabled for tests
+ Flyway cleanFlyway = Flyway.configure()
+ .configuration(flyway.getConfiguration())
+ .cleanDisabled(false)
+ .load();
+
+ cleanFlyway.clean();
+ flyway.migrate();
+ };
+ }
+}
diff --git a/infobip-spring-data-jpa-querydsl-boot-starter/pom.xml b/infobip-spring-data-jpa-querydsl-boot-starter/pom.xml
index f5313ba7..44052968 100644
--- a/infobip-spring-data-jpa-querydsl-boot-starter/pom.xml
+++ b/infobip-spring-data-jpa-querydsl-boot-starter/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-jpa-querydsl-boot-starter
diff --git a/infobip-spring-data-jpa-querydsl-boot-starter/src/test/java/com/infobip/spring/data/jpa/TestConfiguration.java b/infobip-spring-data-jpa-querydsl-boot-starter/src/test/java/com/infobip/spring/data/jpa/TestConfiguration.java
new file mode 100644
index 00000000..60b07e5b
--- /dev/null
+++ b/infobip-spring-data-jpa-querydsl-boot-starter/src/test/java/com/infobip/spring/data/jpa/TestConfiguration.java
@@ -0,0 +1,24 @@
+package com.infobip.spring.data.jpa;
+
+import org.flywaydb.core.Flyway;
+import org.springframework.boot.autoconfigure.flyway.FlywayMigrationStrategy;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class TestConfiguration {
+
+ @Bean
+ public FlywayMigrationStrategy clean() {
+ return flyway -> {
+ // Rebuild Flyway with clean enabled for tests
+ Flyway cleanFlyway = Flyway.configure()
+ .configuration(flyway.getConfiguration())
+ .cleanDisabled(false)
+ .load();
+
+ cleanFlyway.clean();
+ flyway.migrate();
+ };
+ }
+}
diff --git a/infobip-spring-data-jpa-querydsl/pom.xml b/infobip-spring-data-jpa-querydsl/pom.xml
index bc29bd5f..8b646eb4 100644
--- a/infobip-spring-data-jpa-querydsl/pom.xml
+++ b/infobip-spring-data-jpa-querydsl/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-jpa-querydsl
diff --git a/infobip-spring-data-jpa-querydsl/src/test/java/com/infobip/spring/data/jpa/TestConfiguration.java b/infobip-spring-data-jpa-querydsl/src/test/java/com/infobip/spring/data/jpa/TestConfiguration.java
new file mode 100644
index 00000000..60b07e5b
--- /dev/null
+++ b/infobip-spring-data-jpa-querydsl/src/test/java/com/infobip/spring/data/jpa/TestConfiguration.java
@@ -0,0 +1,24 @@
+package com.infobip.spring.data.jpa;
+
+import org.flywaydb.core.Flyway;
+import org.springframework.boot.autoconfigure.flyway.FlywayMigrationStrategy;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class TestConfiguration {
+
+ @Bean
+ public FlywayMigrationStrategy clean() {
+ return flyway -> {
+ // Rebuild Flyway with clean enabled for tests
+ Flyway cleanFlyway = Flyway.configure()
+ .configuration(flyway.getConfiguration())
+ .cleanDisabled(false)
+ .load();
+
+ cleanFlyway.clean();
+ flyway.migrate();
+ };
+ }
+}
diff --git a/infobip-spring-data-r2dbc-querydsl-boot-starter/pom.xml b/infobip-spring-data-r2dbc-querydsl-boot-starter/pom.xml
index d712703b..13fc2e7a 100644
--- a/infobip-spring-data-r2dbc-querydsl-boot-starter/pom.xml
+++ b/infobip-spring-data-r2dbc-querydsl-boot-starter/pom.xml
@@ -5,7 +5,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-r2dbc-querydsl-boot-starter
diff --git a/infobip-spring-data-r2dbc-querydsl-boot-starter/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java b/infobip-spring-data-r2dbc-querydsl-boot-starter/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java
index 5ae510ff..bffe5525 100644
--- a/infobip-spring-data-r2dbc-querydsl-boot-starter/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java
+++ b/infobip-spring-data-r2dbc-querydsl-boot-starter/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java
@@ -14,12 +14,15 @@ public class TestConfiguration {
@Bean(initMethod = "migrate")
public Flyway flyway() {
- return new Flyway(Flyway.configure()
- .baselineOnMigrate(true)
- .dataSource(
- env.getRequiredProperty("spring.flyway.url"),
- env.getRequiredProperty("spring.flyway.username"),
- env.getRequiredProperty("spring.flyway.password"))
+ var flyway = new Flyway(Flyway.configure()
+ .cleanDisabled(false)
+ .baselineOnMigrate(true)
+ .dataSource(
+ env.getRequiredProperty("spring.flyway.url"),
+ env.getRequiredProperty("spring.flyway.username"),
+ env.getRequiredProperty("spring.flyway.password"))
);
+ flyway.clean();
+ return flyway;
}
}
diff --git a/infobip-spring-data-r2dbc-querydsl/pom.xml b/infobip-spring-data-r2dbc-querydsl/pom.xml
index 73fba9a7..417e56e0 100644
--- a/infobip-spring-data-r2dbc-querydsl/pom.xml
+++ b/infobip-spring-data-r2dbc-querydsl/pom.xml
@@ -6,7 +6,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
infobip-spring-data-r2dbc-querydsl
diff --git a/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java b/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java
index a4b6ce49..4ee7323e 100644
--- a/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java
+++ b/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/TestConfiguration.java
@@ -14,13 +14,16 @@ public class TestConfiguration {
@Bean(initMethod = "migrate")
public Flyway flyway() {
- return new Flyway(Flyway.configure()
- .baselineOnMigrate(true)
- .locations(env.getRequiredProperty("spring.flyway.locations"))
- .dataSource(
- env.getRequiredProperty("spring.flyway.url"),
- env.getRequiredProperty("spring.flyway.username"),
- env.getRequiredProperty("spring.flyway.password"))
+ var flyway = new Flyway(Flyway.configure()
+ .cleanDisabled(false)
+ .baselineOnMigrate(true)
+ .locations(env.getRequiredProperty("spring.flyway.locations"))
+ .dataSource(
+ env.getRequiredProperty("spring.flyway.url"),
+ env.getRequiredProperty("spring.flyway.username"),
+ env.getRequiredProperty("spring.flyway.password"))
);
+ flyway.clean();
+ return flyway;
}
}
diff --git a/pom.xml b/pom.xml
index e3097dda..14002306 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.infobip
infobip-spring-data-querydsl
- 9.2.1-SNAPSHOT
+ 10.0.0-SNAPSHOT
pom
Infobip Spring Data Querydsl
@@ -76,7 +76,7 @@
3.8.1
4.3.0
- 0.8.10
+ 0.8.14
3.1.0
3.3.0
3.1.2
@@ -156,14 +156,6 @@
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- ${maven-javadoc-plugin.version}
-
- ${java.version}
-
-
org.apache.maven.plugins
maven-surefire-plugin
@@ -177,57 +169,10 @@
-
- kotlin-maven-plugin
-
- 1.8
-
- org.jetbrains.kotlin
- ${kotlin.version}
-
-
-
- test-compile
-
- test-compile
-
-
-
- ${project.basedir}/src/test/java
- ${project.basedir}/src/test/kotlin
-
-
-
-
-
org.apache.maven.plugins
maven-compiler-plugin
${maven-compiler-plugin.version}
-
-
- default-compile
- none
-
-
- default-testCompile
- none
-
-
- java-compile
- compile
-
- compile
-
-
-
- java-test-compile
- test-compile
-
- testCompile
-
-
-
${java.version}
-parameters
@@ -267,44 +212,93 @@
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 3.3.0
+
+
+ attach-sources
+ package
+
+ jar-no-fork
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ ${maven-javadoc-plugin.version}
+
+ none
+
+
+
+ attach-javadocs
+ package
+
+ jar
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ ${maven-gpg-plugin.version}
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.9.0
+ true
+
+ central
+ true
+ published
+ true
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 3.1.2
+
+ true
+
+
- release-sign-artifacts
-
-
- performRelease
- true
-
-
+ release-to-central
- org.apache.maven.plugins
- maven-gpg-plugin
- ${maven-gpg-plugin.version}
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
+ org.sonatype.central
+ central-publishing-maven-plugin
+
+ false
+
-
-
-
- ossrh
- SonatypeReleases
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
-