diff options
author | Michael Keppler <Michael.Keppler@gmx.de> | 2019-11-16 16:23:34 +0100 |
---|---|---|
committer | Michael Keppler <Michael.Keppler@gmx.de> | 2019-11-16 16:23:34 +0100 |
commit | 7ab7ec00c5cedadddc0fcdf9cc577b66730cd95f (patch) | |
tree | fee9da7e6f31726afe79f4ed7cc6000ce6d2eaba /pom.xml | |
parent | a6bdcace305513f77085a4d0420ee395336d9ec1 (diff) | |
download | jgit-7ab7ec00c5cedadddc0fcdf9cc577b66730cd95f.tar.gz jgit-7ab7ec00c5cedadddc0fcdf9cc577b66730cd95f.zip |
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 <Michael.Keppler@gmx.de>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -180,6 +180,8 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> <bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest> <jgit-last-release-version>5.4.0.201906121030-r</jgit-last-release-version> |