retrolambda icon indicating copy to clipboard operation
retrolambda copied to clipboard

Require Java 1.8 to build, bump maven-plugin-plugin version

Open kohlschuetter opened this issue 1 year ago • 1 comments

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.

kohlschuetter avatar Sep 25 '23 17:09 kohlschuetter

That would break backward compatibility with old Maven versions: https://github.com/luontola/retrolambda/blob/v2.5.7/scripts/build.sh#L63-L69

luontola avatar Sep 25 '23 21:09 luontola