This is an automated email from the ASF dual-hosted git repository. ahuber pushed a commit to branch v4 in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/v4 by this push:
new 60b1b0646c3 CAUSEWAY-3892: attempt on fixing build on JDK 25
60b1b0646c3 is described below
commit 60b1b0646c3cf2d29f651e239da4fe682e081b8b
Author: Andi Huber <[email protected]>
AuthorDate: Wed Sep 17 13:37:26 2025 +0200
CAUSEWAY-3892: attempt on fixing build on JDK 25
---
core/config/pom.xml | 39 ++--
parent/pom.xml | 7 +
starters/pom.xml | 576 +++++++++++++++++++++++++++-------------------------
3 files changed, 329 insertions(+), 293 deletions(-)
diff --git a/core/config/pom.xml b/core/config/pom.xml
index 0c7fba6b5ad..baba249f4f2 100644
--- a/core/config/pom.xml
+++ b/core/config/pom.xml
@@ -17,7 +17,9 @@
specific language governing permissions and limitations
under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -47,7 +49,8 @@
<annotationProcessorPaths>
<path>
<!--
- as per
https://github.com/spring-projects/spring-boot/issues/30986, must be before the
spring-boot-configuration-processor
+ as per
https://github.com/spring-projects/spring-boot/issues/30986, must be
+ before the spring-boot-configuration-processor
https://docs.spring.io/spring-boot/docs/2.7.6/reference/html/configuration-metadata.html#appendix.configuration-metadata.annotation-processor
-->
<groupId>org.projectlombok</groupId>
@@ -61,29 +64,37 @@
</path>
</annotationProcessorPaths>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>9.8</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
<dependencies>
- <dependency>
+ <dependency>
<groupId>org.apache.causeway.commons</groupId>
- <artifactId>causeway-commons</artifactId>
+ <artifactId>causeway-commons</artifactId>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.apache.causeway.core</groupId>
<artifactId>causeway-applib</artifactId>
</dependency>
<dependency>
- <groupId>org.hibernate.validator</groupId>
- <artifactId>hibernate-validator</artifactId>
- </dependency>
+ <groupId>org.hibernate.validator</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ </dependency>
<!--
- as per https://github.com/spring-projects/spring-boot/issues/30986,
must be before the spring-boot-configuration-processor
+ as per https://github.com/spring-projects/spring-boot/issues/30986,
must be
+ before the spring-boot-configuration-processor
https://docs.spring.io/spring-boot/docs/2.7.6/reference/html/configuration-metadata.html#appendix.configuration-metadata.annotation-processor
-->
<dependency>
@@ -93,11 +104,11 @@
</dependency>
<!-- IDE support (optional) -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
-
<artifactId>spring-boot-configuration-processor</artifactId>
- <optional>true</optional>
- </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-configuration-processor</artifactId>
+ <optional>true</optional>
+ </dependency>
<!-- TESTING -->
diff --git a/parent/pom.xml b/parent/pom.xml
index c8c41cb015c..f060c8a5cab 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -154,6 +154,13 @@
</configuration>
<!-- goal:compile binds to phase:compile -->
<!-- goal:testCompile binds to phase:test-compile -->
+ <dependencies>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>9.8</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
diff --git a/starters/pom.xml b/starters/pom.xml
index fd16bc4538b..269695a34f6 100644
--- a/starters/pom.xml
+++ b/starters/pom.xml
@@ -19,9 +19,9 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.causeway</groupId>
@@ -30,45 +30,54 @@
<relativePath>../bom/pom.xml</relativePath>
</parent>
- <groupId>org.apache.causeway.app</groupId>
- <artifactId>causeway-app-starter-parent</artifactId>
- <packaging>pom</packaging>
+ <groupId>org.apache.causeway.app</groupId>
+ <artifactId>causeway-app-starter-parent</artifactId>
+ <packaging>pom</packaging>
- <name>Apache Causeway Starter Parent</name>
- <description>
- Parent pom providing dependency and plugin management for
Apache Causeway applications
- built with Maven. Builds on top of spring-boot-starter-parent.
- </description>
- <url>https://causeway.apache.org</url>
+ <name>Apache Causeway Starter Parent</name>
+ <description>
+ Parent pom providing dependency and plugin management for Apache
+ Causeway applications
+ built with Maven. Builds on top of spring-boot-starter-parent.
+ </description>
+ <url>https://causeway.apache.org</url>
- <build>
- <pluginManagement>
- <plugins>
- <!-- Compile -->
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-compiler-plugin</artifactId>
-
<version>${maven-compiler-plugin.version}</version>
- <configuration>
-
<showDeprecation>false</showDeprecation>
-
<showWarnings>false</showWarnings>
- <!-- Java compliance level, to
be overridden with option maven.compiler.release -->
- </configuration>
- <!-- goal:compile binds to
phase:compile -->
- <!-- goal:testCompile binds to
phase:test-compile -->
- </plugin>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <!-- Compile -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>${maven-compiler-plugin.version}</version>
+ <configuration>
+ <showDeprecation>false</showDeprecation>
+ <showWarnings>false</showWarnings>
+ <!-- Java compliance level, to be overridden with
option
+ maven.compiler.release -->
+ </configuration>
+ <!-- goal:compile binds to phase:compile -->
+ <!-- goal:testCompile binds to phase:test-compile -->
+ <dependencies>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>9.8</version>
+ </dependency>
+ </dependencies>
+ </plugin>
- <!-- SITE REPORT -->
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-site-plugin</artifactId>
- <version>3.21.0</version>
- </plugin>
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>3.9.0</version>
- </plugin>
+ <!-- SITE REPORT -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.21.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>3.9.0</version>
+ </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
@@ -83,97 +92,100 @@
</configuration>
</plugin>
</plugins>
- </pluginManagement>
- </build>
-
- <dependencyManagement>
- <dependencies>
+ </pluginManagement>
+ </build>
+
+ <dependencyManagement>
+ <dependencies>
- <dependency>
- <groupId>com.approvaltests</groupId>
- <artifactId>approvaltests</artifactId>
- <version>${approvaltests.version}</version>
- <scope>test</scope>
- </dependency>
+ <dependency>
+ <groupId>com.approvaltests</groupId>
+ <artifactId>approvaltests</artifactId>
+ <version>${approvaltests.version}</version>
+ <scope>test</scope>
+ </dependency>
- </dependencies>
- </dependencyManagement>
+ </dependencies>
+ </dependencyManagement>
- <profiles>
+ <profiles>
- <profile>
- <id>causeway-app-starter-surefire</id>
- <activation>
- <property>
-
<name>!skip.causeway-app-starter-surefire</name>
- </property>
- </activation>
+ <profile>
+ <id>causeway-app-starter-surefire</id>
+ <activation>
+ <property>
+ <name>!skip.causeway-app-starter-surefire</name>
+ </property>
+ </activation>
- <properties>
- <!-- uses maven-surefire-plugin.version, which
is declared by spring-boot-starter-parent -->
-
<maven-surefire-report-plugin.version>3.5.4</maven-surefire-report-plugin.version>
-
- <skipTests>false</skipTests>
- <skipUTs>${skipTests}</skipUTs>
- <skipITs>${skipTests}</skipITs>
+ <properties>
+ <!-- uses maven-surefire-plugin.version, which is declared by
+ spring-boot-starter-parent -->
+
<maven-surefire-report-plugin.version>3.5.4</maven-surefire-report-plugin.version>
+
+ <skipTests>false</skipTests>
+ <skipUTs>${skipTests}</skipUTs>
+ <skipITs>${skipTests}</skipITs>
<skipBDDs>${skipTests}</skipBDDs>
-
<surefire-plugin.argLine></surefire-plugin.argLine>
- </properties>
+ <surefire-plugin.argLine></surefire-plugin.argLine>
+ </properties>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-surefire-plugin</artifactId>
-
<version>${maven-surefire-plugin.version}</version>
- <executions>
- <execution>
-
<id>default-test</id>
-
<phase>test</phase>
- <goals>
-
<goal>test</goal>
- </goals>
-
<configuration>
-
<skipTests>${skipUTs}</skipTests>
-
<includes>
-
<include>**/*Test*.java</include>
-
</includes>
-
<excludes>
-
<exclude>**/*Testing.java</exclude>
-
<exclude>**/*IntegTest*.java</exclude>
-
<exclude>**/*Abstract*.java</exclude>
-
</excludes>
-
<useFile>true</useFile>
-
<printSummary>true</printSummary>
-
<reportsDirectory>${project.build.directory}/surefire-unittest-reports</reportsDirectory>
-
<forkCount>1</forkCount>
-
<reuseForks>true</reuseForks>
-
<argLine>${surefire-plugin.argLine}</argLine>
-
</configuration>
- </execution>
- <execution>
-
<id>integ-test</id>
-
<phase>integration-test</phase>
- <goals>
-
<goal>test</goal>
- </goals>
-
<configuration>
-
<skipTests>${skipITs}</skipTests>
-
<includes>
-
<include>**/*IntegTest*.java</include>
-
</includes>
-
<excludes>
-
<exclude>**/*Abstract*.java</exclude>
-
</excludes>
-
<useFile>true</useFile>
-
<printSummary>true</printSummary>
-
<reportsDirectory>${project.build.directory}/surefire-integtest-reports</reportsDirectory>
-
<forkCount>1</forkCount>
-
<reuseForks>true</reuseForks>
-
<argLine>${surefire-plugin.argLine}</argLine>
-
</configuration>
- </execution>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>${maven-surefire-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skipTests>${skipUTs}</skipTests>
+ <includes>
+ <include>**/*Test*.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*Testing.java</exclude>
+
<exclude>**/*IntegTest*.java</exclude>
+
<exclude>**/*Abstract*.java</exclude>
+ </excludes>
+ <useFile>true</useFile>
+ <printSummary>true</printSummary>
+ <reportsDirectory>
+
${project.build.directory}/surefire-unittest-reports</reportsDirectory>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+
<argLine>${surefire-plugin.argLine}</argLine>
+ </configuration>
+ </execution>
+ <execution>
+ <id>integ-test</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skipTests>${skipITs}</skipTests>
+ <includes>
+
<include>**/*IntegTest*.java</include>
+ </includes>
+ <excludes>
+
<exclude>**/*Abstract*.java</exclude>
+ </excludes>
+ <useFile>true</useFile>
+ <printSummary>true</printSummary>
+ <reportsDirectory>
+
${project.build.directory}/surefire-integtest-reports</reportsDirectory>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+
<argLine>${surefire-plugin.argLine}</argLine>
+ </configuration>
+ </execution>
<execution>
<id>bdd-specs</id>
<phase>integration-test</phase>
@@ -193,175 +205,181 @@
</excludes>
<useFile>true</useFile>
<printSummary>true</printSummary>
-
<reportsDirectory>${project.build.directory}/surefire-bddspecs-reports</reportsDirectory>
+ <reportsDirectory>
+
${project.build.directory}/surefire-bddspecs-reports</reportsDirectory>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<argLine>${surefire-plugin.argLine}</argLine>
</configuration>
</execution>
- </executions>
- </plugin>
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-surefire-report-plugin</artifactId>
-
<version>${maven-surefire-report-plugin.version}</version>
- <configuration>
-
<showSuccess>false</showSuccess>
- </configuration>
- <executions>
- <execution>
-
<id>test</id>
-
<phase>test</phase>
- </execution>
- <execution>
-
<id>integration-test</id>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-surefire-report-plugin</artifactId>
+
<version>${maven-surefire-report-plugin.version}</version>
+ <configuration>
+ <showSuccess>false</showSuccess>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test</id>
+ <phase>test</phase>
+ </execution>
+ <execution>
+ <id>integration-test</id>
<phase>integration-test</phase>
</execution>
<execution>
<id>bdd-specs</id>
-
<phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
+ <phase>integration-test</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
- <profile>
- <id>causeway-app-starter-docker</id>
- <activation>
- <property>
-
<name>!skip.causeway-app-starter-docker</name>
- </property>
- </activation>
- <properties>
-
<jib-maven-plugin.version>3.4.6</jib-maven-plugin.version>
- </properties>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
-
<groupId>com.google.cloud.tools</groupId>
-
<artifactId>jib-maven-plugin</artifactId>
-
<version>${jib-maven-plugin.version}</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
+ <profile>
+ <id>causeway-app-starter-docker</id>
+ <activation>
+ <property>
+ <name>!skip.causeway-app-starter-docker</name>
+ </property>
+ </activation>
+ <properties>
+ <jib-maven-plugin.version>3.4.6</jib-maven-plugin.version>
+ </properties>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>com.google.cloud.tools</groupId>
+ <artifactId>jib-maven-plugin</artifactId>
+ <version>${jib-maven-plugin.version}</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
- <!-- running: mvn spring-boot:run -->
- <profile>
- <id>causeway-app-starter-boot</id>
- <activation>
- <property>
-
<name>!skip.causeway-app-starter-boot</name>
- </property>
- </activation>
- <properties>
- </properties>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
-
<groupId>org.springframework.boot</groupId>
-
<artifactId>spring-boot-maven-plugin</artifactId>
-
<version>${spring-boot.version}</version>
- <executions>
- <execution>
- <goals>
-
<goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
+ <!-- running: mvn spring-boot:run -->
+ <profile>
+ <id>causeway-app-starter-boot</id>
+ <activation>
+ <property>
+ <name>!skip.causeway-app-starter-boot</name>
+ </property>
+ </activation>
+ <properties>
+ </properties>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <version>${spring-boot.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>repackage</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
- <profile>
- <id>apache-release</id>
- <activation>
- <property>
- <name>apache-release</name>
- </property>
- </activation>
- <properties>
- <skipTests>true</skipTests>
-
<altDeploymentRepository>apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2</altDeploymentRepository>
- </properties>
- <build>
- <plugins>
- <!-- We want to sign the artifact, the
POM, and all attached artifacts -->
- <plugin>
-
<groupId>org.apache.maven.plugins</groupId>
-
<artifactId>maven-gpg-plugin</artifactId>
- <version>3.2.8</version>
- <executions>
- <execution>
-
<id>sign-release-artifacts</id>
- <goals>
-
<goal>sign</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <gpgArguments>
-
<arg>--digest-algo=SHA512</arg>
- </gpgArguments>
- </configuration>
- </plugin>
- <plugin>
-
<groupId>net.nicoulaj.maven.plugins</groupId>
-
<artifactId>checksum-maven-plugin</artifactId>
- <version>1.11</version>
- <executions>
- <execution>
-
<id>source-release-checksum</id>
- <goals>
-
<goal>files</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <algorithms>
-
<algorithm>SHA-512</algorithm>
- </algorithms>
-
<csvSummary>false</csvSummary>
- <fileSets>
- <fileSet>
-
<directory>${project.build.directory}</directory>
-
<includes>
-
<include>${project.artifactId}-${project.version}-source-release.zip</include>
-
<include>${project.artifactId}-${project.version}-source-release.tar*</include>
-
</includes>
- </fileSet>
- </fileSets>
-
<failIfNoFiles>false</failIfNoFiles><!-- usually, no file to do checksum:
+ <profile>
+ <id>apache-release</id>
+ <activation>
+ <property>
+ <name>apache-release</name>
+ </property>
+ </activation>
+ <properties>
+ <skipTests>true</skipTests>
+ <altDeploymentRepository>
+
apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2</altDeploymentRepository>
+ </properties>
+ <build>
+ <plugins>
+ <!-- We want to sign the artifact, the POM, and all
attached
+ artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>3.2.8</version>
+ <executions>
+ <execution>
+ <id>sign-release-artifacts</id>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <gpgArguments>
+ <arg>--digest-algo=SHA512</arg>
+ </gpgArguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.11</version>
+ <executions>
+ <execution>
+ <id>source-release-checksum</id>
+ <goals>
+ <goal>files</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <algorithms>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
+ <csvSummary>false</csvSummary>
+ <fileSets>
+ <fileSet>
+
<directory>${project.build.directory}</directory>
+ <includes>
+ <include>
+
${project.artifactId}-${project.version}-source-release.zip</include>
+ <include>
+
${project.artifactId}-${project.version}-source-release.tar*</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <failIfNoFiles>false</failIfNoFiles><!-- usually,
no
+ file to do checksum:
don't consider
error -->
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>github</id>
- <activation>
- <property>
- <name>github</name>
- </property>
- </activation>
- <distributionManagement>
- <repository>
- <id>github</id>
- <name>Github Releases</name>
-
<url>https://maven.pkg.github.com/apache/causeway</url>
- </repository>
- </distributionManagement>
- </profile>
+ <profile>
+ <id>github</id>
+ <activation>
+ <property>
+ <name>github</name>
+ </property>
+ </activation>
+ <distributionManagement>
+ <repository>
+ <id>github</id>
+ <name>Github Releases</name>
+ <url>https://maven.pkg.github.com/apache/causeway</url>
+ </repository>
+ </distributionManagement>
+ </profile>
- </profiles>
+ </profiles>
</project>
