From 87d773968202374fe75b7bd506960907c26d5fad Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 22 Aug 2020 16:33:16 +0200 Subject: [PATCH] Fix Java build - Java 8 (since Java 1.5 is no longer supported by modern Maven) - Use org.xolstice.maven.plugins (the other one is no longer available) - Upgrade to protobuf-java 3.13.0 --- pom.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 7663540..134a485 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ crosby.binary osmpbf jar - 1.3.3 + 1.4.0 OSM-Binary Library for the OpenStreetMap PBF format https://github.com/scrosby/OSM-binary @@ -33,19 +33,21 @@ org.apache.maven.plugins maven-compiler-plugin - 1.5 - 1.5 + 1.8 + 1.8 - com.google.protobuf.tools - maven-protoc-plugin + org.xolstice.maven.plugins + protobuf-maven-plugin + 0.6.1 generate-sources compile + test-compile generate-sources @@ -78,7 +80,7 @@ com.google.protobuf protobuf-java - 2.4.1 + 3.13.0