You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/11/14 07:36:17 UTC

(causeway) 01/01: CAUSEWAY-3275: bump spring boot 3.1.5 -> 3.2.0-RC2 (baseline 17->21)

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch 3275-spring.boot.3.2
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit 36df2aa20c193e04187118dd601a82927c4b92b7
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Nov 14 08:36:11 2023 +0100

    CAUSEWAY-3275: bump spring boot 3.1.5 -> 3.2.0-RC2 (baseline 17->21)
---
 bom/pom.xml         | 32 +++++++++++++++++++++++---------
 core/pom.xml        |  2 +-
 starters/pom.xml    | 37 ++++++++++++++++++++++++++++++++++---
 testing/pom.xml     |  2 +-
 tooling/cli/pom.xml | 12 ++++++------
 tooling/pom.xml     |  7 ++-----
 6 files changed, 67 insertions(+), 25 deletions(-)

diff --git a/bom/pom.xml b/bom/pom.xml
index 57ce0b473b..0ac79e319e 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -34,7 +34,7 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>3.1.5</version>
+        <version>3.2.0-RC2</version>
         <relativePath/>
     </parent>
     <groupId>org.apache.causeway</groupId>
@@ -57,9 +57,9 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor>
         <gpg.useagent>true</gpg.useagent>
-        <minimalMavenBuildVersion>3.8.0</minimalMavenBuildVersion> <!-- enforces https repos -->
-        <minimalJavaBuildVersion>17</minimalJavaBuildVersion>
-        <maven.compiler.release>17</maven.compiler.release>
+        <minimalMavenBuildVersion>3.9.5</minimalMavenBuildVersion>
+        <minimalJavaBuildVersion>21</minimalJavaBuildVersion>
+        <maven.compiler.release>21</maven.compiler.release>
         
         <!--  for m-plugin-p and maven-plugin-annotations  -->
         <assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
@@ -94,8 +94,6 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
 
         <assertj-guava.version>3.24.2</assertj-guava.version>
 
-        <camel.version>3.14.9</camel.version>
-
         <commons-email.version>1.5</commons-email.version>
         <commons-httpclient.version>4.5.12</commons-httpclient.version>
         <commons-io.version>2.15.0</commons-io.version>
@@ -173,7 +171,7 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
         <simpleslackapi.version>1.4.0</simpleslackapi.version>
         <slf4j-api.version>2.0.9</slf4j-api.version> <!-- also provided by spring-boot-starter-logging, needed to solve convergence issues -->
         <snakeyaml.version>2.0</snakeyaml.version>
-        <spring-boot.version>3.1.5</spring-boot.version>
+        <spring-boot.version>3.2.0-RC2</spring-boot.version>
         <surefire-plugin.argLine>-Xmx384m</surefire-plugin.argLine>
         <surefire.useModulePath>false</surefire.useModulePath> <!-- disable module-path for testing, that is, put everything on the class-path -->
         <swagger-core.version>2.2.19</swagger-core.version>
@@ -2056,6 +2054,14 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
 				<enabled>false</enabled>
 			</snapshots>
 		</repository>
+		<repository>
+            <!-- Spring Milestones, until release of Spring Boot 3.2 -->
+            <id>Spring Milestones</id>
+            <url>https://repo.spring.io/milestone/</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
     </repositories>
     <pluginRepositories>
 		<pluginRepository>
@@ -2065,6 +2071,14 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
 				<enabled>false</enabled>
 			</snapshots>
 		</pluginRepository>
+	    <pluginRepository>
+            <!-- Spring Milestones, until release of Spring Boot 3.2 -->
+            <id>Spring Milestones</id>
+            <url>https://repo.spring.io/milestone/</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </pluginRepository>
     </pluginRepositories>
     <distributionManagement>
         <repository>
@@ -2645,10 +2659,10 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif
                 <configuration>
                     <rules>
                         <requireMavenVersion>
-                            <version>[3.6,)</version>
+                            <version>[3.9,)</version>
                         </requireMavenVersion>
                         <requireJavaVersion>
-                            <version>[17,)</version>
+                            <version>[21,)</version>
                         </requireJavaVersion>
                         <!-- seemingly not compatible with use of 3.0.0-SNAPSHOT placeholders
                             <requirePluginVersions> <message>All plugin versions must be defined!</message>
diff --git a/core/pom.xml b/core/pom.xml
index 03cd65cf16..7562a1d2fd 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -154,7 +154,7 @@
 						<configuration>
 							<toolchains>
 								<jdk>
-									<version>17</version>
+									<version>21</version>
 									<vendor>openjdk</vendor>
 								</jdk>
 							</toolchains>
diff --git a/starters/pom.xml b/starters/pom.xml
index f850d433a8..cd7b2d0891 100644
--- a/starters/pom.xml
+++ b/starters/pom.xml
@@ -33,7 +33,7 @@
 	<parent>
 		<groupId>org.springframework.boot</groupId>
 		<artifactId>spring-boot-starter-parent</artifactId>
-		<version>3.1.5</version>
+		<version>3.2.0-RC2</version>
 		<relativePath />
 	</parent>
 
@@ -46,9 +46,9 @@
 
 	<properties>
 
-		<maven.compiler.release>17</maven.compiler.release>
+		<maven.compiler.release>21</maven.compiler.release>
 
-		<spring-boot.version>3.1.5</spring-boot.version>
+		<spring-boot.version>3.2.0-RC2</spring-boot.version>
 		<approvaltests.version>22.2.1</approvaltests.version>
 
 		<!-- IMPORTANT: keep in sync with property defined in resteasy-spring-boot-starter -->
@@ -56,6 +56,37 @@
 
 	</properties>
 
+    <!-- remove the entire tag, after Spring Boot 3.2 release! -->	
+    <repositories>
+        <repository>
+            <id>central</id>
+            <name>Central Repository</name>
+            <url>https://repo.maven.apache.org/maven2</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <!-- Spring Milestones, until release of Spring Boot 3.2 -->
+            <id>Spring Milestones</id>
+            <url>https://repo.spring.io/milestone/</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+    <!-- remove the entire tag, after Spring Boot 3.2 release! -->  
+    <pluginRepositories>
+        <pluginRepository>
+            <!-- Spring Milestones, until release of Spring Boot 3.2 -->
+            <id>Spring Milestones</id>
+            <url>https://repo.spring.io/milestone/</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </pluginRepository>
+    </pluginRepositories>
+
 	<build>
 		<pluginManagement>
 			<plugins>
diff --git a/testing/pom.xml b/testing/pom.xml
index 965f9b0410..81130b7066 100644
--- a/testing/pom.xml
+++ b/testing/pom.xml
@@ -40,7 +40,7 @@
 	<packaging>pom</packaging>
 
 	<properties>
-		<maven.compiler.release>17</maven.compiler.release>
+		<maven.compiler.release>21</maven.compiler.release>
 
 		<jar-plugin.automaticModuleName>org.apache.causeway.testing</jar-plugin.automaticModuleName>
 		<git-plugin.propertiesDir>org/apache/causeway/testing</git-plugin.propertiesDir>
diff --git a/tooling/cli/pom.xml b/tooling/cli/pom.xml
index eb3912894d..a36f044d5f 100644
--- a/tooling/cli/pom.xml
+++ b/tooling/cli/pom.xml
@@ -23,10 +23,10 @@
 	<modelVersion>4.0.0</modelVersion>
 
 	<parent>
-		<groupId>org.apache.causeway.tooling</groupId>
-		<artifactId>causeway-tooling</artifactId>
-		<version>3.0.0-SNAPSHOT</version>
-	</parent>
+        <groupId>org.apache.causeway.tooling</groupId>
+        <artifactId>causeway-tooling</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
+    </parent>
 
 	<artifactId>causeway-tooling-cli</artifactId>
 
@@ -67,7 +67,6 @@
 				</executions>
 			</plugin>
 -->
-
 			<plugin>
 				<groupId>org.springframework.boot</groupId>
 				<artifactId>spring-boot-maven-plugin</artifactId>
@@ -84,8 +83,9 @@
 				</executions>
 			</plugin>
 		</plugins>
+		
 	</build>
-
+	
 	<dependencies>
 
 		<dependency>
diff --git a/tooling/pom.xml b/tooling/pom.xml
index 4dcc62da92..d13b1502b0 100644
--- a/tooling/pom.xml
+++ b/tooling/pom.xml
@@ -36,15 +36,12 @@
 	<description>
         Libraries and tools not depending on the _Apache Causeway Core_ ecosystem,
         eg. code mining, automated documentation.
-        (Targeted for JVM 17+)
+        (Targeted for JVM 21+)
     </description>
 
 	<packaging>pom</packaging>
 
 	<properties>
-
-		<maven.compiler.release>17</maven.compiler.release>
-
 		<jar-plugin.automaticModuleName>org.apache.causeway.tooling</jar-plugin.automaticModuleName>
 		<git-plugin.propertiesDir>org/apache/causeway/tooling</git-plugin.propertiesDir>
 		<gradle-tooling.version>7.3-20210825160000+0000</gradle-tooling.version>
@@ -154,7 +151,7 @@
 		</plugins>
 
 	</build>
-
+	
 	<dependencyManagement>
 		<dependencies>