Skip to content

Commit

Permalink
Merge pull request #84 from leonardehrenfried/master
Browse files Browse the repository at this point in the history
Update to latest version of protobuf compiler and Java runtime
  • Loading branch information
joto authored Nov 13, 2024
2 parents 7050448 + 5050528 commit a8c4dd1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,20 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<protobuf.version>4.28.3</protobuf.version>
</properties>

<build>
<extensions>
<!-- makes build variables like os.detected.classifier available.
use to select the correct protoc instance for the OS.
see protobuf-maven-plugin below -->
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.7.1</version>
</extension>
</extensions>
<sourceDirectory>${basedir}/src.java</sourceDirectory>
<testSourceDirectory>${basedir}/test.java</testSourceDirectory>

Expand All @@ -59,7 +70,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
<protocExecutable>protoc</protocExecutable>
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -143,7 +154,7 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.16.3</version>
<version>${protobuf.version}</version>
</dependency>
</dependencies>

Expand Down

0 comments on commit a8c4dd1

Please sign in to comment.