From 7ab7ec00c5cedadddc0fcdf9cc577b66730cd95f Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Sat, 16 Nov 2019 16:23:34 +0100 Subject: [PATCH] Use Java 8 source and target in Maven Building the jgit aggregator with Maven leads to a compiler level 1.6 for me, thereby failing the build. Multiple profiles specify source/target level separately, but there seems no global setting. Adding the global properties makes the jgit aggregator compile on my system. Change-Id: Ia5613cc0fcf6085265a9e48f940e5a7d3f998608 Signed-off-by: Michael Keppler --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index b0edd34b9..e5a6fee36 100644 --- a/pom.xml +++ b/pom.xml @@ -180,6 +180,8 @@ UTF-8 UTF-8 yyyyMMddHHmm + 1.8 + 1.8 ${project.build.directory}/META-INF/MANIFEST.MF 5.4.0.201906121030-r