From d282666b49c05475f648a5ad31b2c3ecec1641bc Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Mon, 12 Jun 2017 22:38:04 +0200 Subject: [PATCH] Use 1.7 as the source and target level for compilation Cucumber-jvm is using some library features that were introduced in Java 7. Setting the compilation explicitly to Java 7 should avoid any unexpected surprises. --- openejb/pom.xml | 20 +++++++++++++++++++- pom.xml | 4 ++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/openejb/pom.xml b/openejb/pom.xml index fe784418dc..7653bc8b8a 100644 --- a/openejb/pom.xml +++ b/openejb/pom.xml @@ -1,4 +1,6 @@ - + 4.0.0 @@ -33,4 +35,20 @@ test + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.6 + + + + diff --git a/pom.xml b/pom.xml index f7eb48d32c..62f5805f42 100644 --- a/pom.xml +++ b/pom.xml @@ -724,8 +724,8 @@ 3.6.2 UTF-8 - 1.6 - 1.6 + 1.7 + 1.7 -Werror