From 572d43e7e9a0b75ba2d094f2b5aff64923ba283a Mon Sep 17 00:00:00 2001 From: David Kocher Date: Mon, 26 Jun 2023 10:02:16 +0200 Subject: [PATCH 1/2] Enforce compile target of dependencies. --- pom.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/pom.xml b/pom.xml index 1b8e3982..4c2f6072 100644 --- a/pom.xml +++ b/pom.xml @@ -47,6 +47,18 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.3.0 + + + org.codehaus.mojo + extra-enforcer-rules + 1.7.0 + + + org.apache.maven.plugins maven-jar-plugin @@ -115,6 +127,29 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-bytecode-version + + enforce + + + + + ${maven.compiler.target} + + test + + + + true + + + + org.apache.maven.plugins maven-jar-plugin From d524141d0fcd7d17026522730f1d5b7b1b2b86a9 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Fri, 10 Jan 2025 10:16:26 +0100 Subject: [PATCH 2/2] Fix #426. --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4c2f6072..b435172e 100644 --- a/pom.xml +++ b/pom.xml @@ -289,8 +289,8 @@ - 8 - 8 + 11 + 11 false 4.5.14