From b3b311c7ed44aa8ecce524922f4f0eed3d3f7472 Mon Sep 17 00:00:00 2001 From: Petr Pucil Date: Tue, 28 Jun 2022 13:42:58 +0200 Subject: [PATCH] Make the compiled package runnable on Java 7 or later Should fix https://github.com/kaitai-io/kaitai_struct_java_runtime/issues/34 --- pom.xml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 9819009..43e1b9e 100644 --- a/pom.xml +++ b/pom.xml @@ -40,10 +40,29 @@ UTF-8 + 1.7 + 1.7 + + + jdk9 + + [1.9,) + + + 7 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.10.1 + org.apache.maven.plugins maven-source-plugin @@ -111,15 +130,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 6 - 6 - -