From ca3640aadc431ded9ed39f24fc383e2d860e5523 Mon Sep 17 00:00:00 2001 From: Ben Hills Date: Wed, 4 Sep 2019 15:58:44 +0100 Subject: [PATCH] Fix failing build when building against Java 11 LTS. Migrated pom.xml to Java 11 whilst adding comments section to allow building against Java 8 if still required --- pom.xml | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 3ae34e8..387651a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,4 @@ - + 4.0.0 io.swagger swagger-java-client @@ -33,6 +32,17 @@ + + maven-compiler-plugin + 3.8.0 + + + 11 + + + + + org.apache.maven.plugins maven-enforcer-plugin @@ -97,8 +107,7 @@ - - + @@ -137,7 +146,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.10.4 + 3.1.1 attach-javadocs @@ -188,6 +197,11 @@ + + javax.annotation + javax.annotation-api + 1.3.2 + io.swagger swagger-annotations @@ -213,11 +227,11 @@ gson-fire ${gson-fire-version} - - org.threeten - threetenbp - ${threetenbp-version} - + + org.threeten + threetenbp + ${threetenbp-version} + junit @@ -234,7 +248,7 @@ 1.5.15 2.7.5 2.8.1 - 1.3.5 + 1.3.5 1.0.0 4.12 UTF-8