File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 3131
3232 <properties >
3333 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
34+ <protobuf .version>4.28.3</protobuf .version>
3435 </properties >
3536
3637 <build >
38+ <extensions >
39+ <!-- makes build variables like os.detected.classifier available.
40+ use to select the correct protoc instance for the OS.
41+ see protobuf-maven-plugin below -->
42+ <extension >
43+ <groupId >kr.motd.maven</groupId >
44+ <artifactId >os-maven-plugin</artifactId >
45+ <version >1.7.1</version >
46+ </extension >
47+ </extensions >
3748 <sourceDirectory >${basedir} /src.java</sourceDirectory >
3849 <testSourceDirectory >${basedir} /test.java</testSourceDirectory >
3950
5970 <artifactId >protobuf-maven-plugin</artifactId >
6071 <version >0.6.1</version >
6172 <configuration >
62- <protocExecutable > protoc</ protocExecutable >
73+ <protocArtifact >com.google.protobuf: protoc: ${protobuf.version} :exe: ${os.detected.classifier} </ protocArtifact >
6374 </configuration >
6475 <executions >
6576 <execution >
143154 <dependency >
144155 <groupId >com.google.protobuf</groupId >
145156 <artifactId >protobuf-java</artifactId >
146- <version >3.16.3 </version >
157+ <version >${protobuf.version} </version >
147158 </dependency >
148159 </dependencies >
149160
You can’t perform that action at this time.
0 commit comments