Skip to content

Commit 1378c1e

Browse files
author
Abel Salgado Romero
authored
Refactor GRPC integration tests maven version configuration (#3158)
* Use same GRPC version for SCG runtime and proto code generation. * The protobuf compiler version is set with a version to help bumping.
1 parent cba61f7 commit 1378c1e

File tree

1 file changed

+4
-3
lines changed
  • spring-cloud-gateway-integration-tests/grpc

1 file changed

+4
-3
lines changed

spring-cloud-gateway-integration-tests/grpc/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<description>Spring Cloud Gateway gRPC Integration Test</description>
1212

1313
<properties>
14+
<protoc.version>3.25.1</protoc.version>
1415
<grpc.version>1.47.1</grpc.version>
1516
</properties>
1617

@@ -97,7 +98,7 @@
9798
<extension>
9899
<groupId>kr.motd.maven</groupId>
99100
<artifactId>os-maven-plugin</artifactId>
100-
<version>1.6.2</version>
101+
<version>1.7.1</version>
101102
</extension>
102103
</extensions>
103104
<plugins>
@@ -112,9 +113,9 @@
112113
<artifactId>protobuf-maven-plugin</artifactId>
113114
<version>0.6.1</version>
114115
<configuration>
115-
<protocArtifact>com.google.protobuf:protoc:3.19.4:exe:${os.detected.classifier}</protocArtifact>
116+
<protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
116117
<pluginId>grpc-java</pluginId>
117-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.44.0:exe:${os.detected.classifier}</pluginArtifact>
118+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
118119
</configuration>
119120
<executions>
120121
<execution>

0 commit comments

Comments
 (0)