You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mb...@apache.org on 2026/02/22 11:54:31 UTC

(db-jdo) 02/02: JDO-859: Build failure with maven 3.9.12 when running Java 8 or Java 11

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

mbo pushed a commit to branch JDO-859
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit 17014faedfaf61da95eac32e993c3a9137c4c4c0
Author: Michael Bouschen <Mi...@spree.de>
AuthorDate: Sun Feb 22 12:54:20 2026 +0100

    JDO-859: Build failure with maven 3.9.12 when running Java 8 or Java 11
---
 exectck/pom.xml    | 2 ++
 parent-pom/pom.xml | 9 +++++++++
 2 files changed, 11 insertions(+)

diff --git a/exectck/pom.xml b/exectck/pom.xml
index f307799c..6e9ed1b2 100644
--- a/exectck/pom.xml
+++ b/exectck/pom.xml
@@ -74,6 +74,8 @@
                 <artifactId>maven-plugin-plugin</artifactId>
                 <configuration>
                     <goalPrefix>exectck</goalPrefix>
+                    <requiredJavaVersion>[1.8,)</requiredJavaVersion>
+                    <requiredMavenVersion>[3.3,)</requiredMavenVersion>
                 </configuration>
             </plugin>
             <plugin>
diff --git a/parent-pom/pom.xml b/parent-pom/pom.xml
index 2b1abc49..595316f6 100644
--- a/parent-pom/pom.xml
+++ b/parent-pom/pom.xml
@@ -493,5 +493,14 @@
                 <version.spdx-maven-plugin>0.6.3</version.spdx-maven-plugin>
             </properties>
         </profile>
+        <profile>
+            <id>jdk11-plugin-fix-version</id>
+            <activation>
+                <jdk>[11,17)</jdk>
+            </activation>
+            <properties>
+                <version.spdx-maven-plugin>0.7.4</version.spdx-maven-plugin>
+            </properties>
+        </profile>
     </profiles>
 </project>