From 2e03bbd8200caed33703a3a79fbce27f9ca1e848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kohlschu=CC=88tter?= Date: Mon, 25 Sep 2023 19:53:33 +0200 Subject: [PATCH] Require Java 1.8 to build, bump maven-plugin-plugin version Previously, we required Java 1.6 to compile (a corresponding entry had to be made in ~/.m2/toolchains.xml), however the code already required try-with-resources (HelpMojo). Bump source code compatibility to Java 1.8, and remove the JDK 1.6 requirement from Maven POM files. Also update the maven-plugin-plugin version, which seems to fix a related problem when running with newer Maven environments. --- parent/pom.xml | 2 +- retrolambda-api/pom.xml | 6 +++--- retrolambda-maven-plugin/pom.xml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 9e43dc4..7da7ea9 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -318,7 +318,7 @@ maven-plugin-plugin - 3.4 + 3.9.0 diff --git a/retrolambda-api/pom.xml b/retrolambda-api/pom.xml index d82d4b7..a1f7883 100644 --- a/retrolambda-api/pom.xml +++ b/retrolambda-api/pom.xml @@ -21,7 +21,7 @@ - 1.6 + 1.8 @@ -30,8 +30,8 @@ maven-compiler-plugin - 1.6 - 1.6 + 1.8 + 1.8 diff --git a/retrolambda-maven-plugin/pom.xml b/retrolambda-maven-plugin/pom.xml index 951a593..42346ca 100644 --- a/retrolambda-maven-plugin/pom.xml +++ b/retrolambda-maven-plugin/pom.xml @@ -73,7 +73,7 @@ - 1.6 + 1.8 @@ -82,8 +82,8 @@ maven-compiler-plugin - 1.6 - 1.6 + 1.8 + 1.8