From f427d7458eab9fd245d06beca817bae943b7add3 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Thu, 7 Nov 2024 22:06:32 +0100 Subject: [PATCH 1/2] Update to latest version of protobuf compiler and Java runtime --- pom.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e33021e..1ee173a 100644 --- a/pom.xml +++ b/pom.xml @@ -31,9 +31,20 @@ UTF-8 + 4.28.3 + + + + kr.motd.maven + os-maven-plugin + 1.7.1 + + ${basedir}/src.java ${basedir}/test.java @@ -59,7 +70,7 @@ protobuf-maven-plugin 0.6.1 - protoc + com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier} @@ -143,7 +154,7 @@ com.google.protobuf protobuf-java - 3.16.3 + 4.28.3 From 505052800ec72de4a4f3e5904b5b46e47e6612a8 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Thu, 7 Nov 2024 22:09:23 +0100 Subject: [PATCH 2/2] Use single variable for compiler and runtime --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1ee173a..f62df19 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ UTF-8 - 4.28.3 + 4.28.3 @@ -70,7 +70,7 @@ protobuf-maven-plugin 0.6.1 - com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier} + com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} @@ -154,7 +154,7 @@ com.google.protobuf protobuf-java - 4.28.3 + ${protobuf.version}