Skip to content

Commit b77935a

Browse files
authored
Bump protobuf plugin (#246)
1 parent 74391b7 commit b77935a

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

jwt-server/spring/jwt-spring-grpc-native/pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,14 @@
162162
<version>${protobuf-maven-plugin.version}</version>
163163
<configuration>
164164
<protoc>${proto.version}</protoc>
165-
<binaryMavenPlugins>
166-
<binaryMavenPlugin>
165+
<plugins>
166+
<plugin kind="binary-maven">
167167
<groupId>io.grpc</groupId>
168168
<artifactId>protoc-gen-grpc-java</artifactId>
169169
<version>${grpc.version}</version>
170170
<options>@generated=omit</options>
171-
</binaryMavenPlugin>
172-
</binaryMavenPlugins>
173-
<importPaths><path>src/test/proto</path></importPaths>
171+
</plugin>
172+
</plugins>
174173
</configuration>
175174
<executions>
176175
<execution>

jwt-server/spring/jwt-spring-grpc-native/src/test/proto/greeting_message.proto renamed to jwt-server/spring/jwt-spring-grpc-native/src/test/protobuf/greeting_message.proto

File renamed without changes.

jwt-server/spring/jwt-spring-grpc-native/src/test/proto/greeting_service.proto renamed to jwt-server/spring/jwt-spring-grpc-native/src/test/protobuf/greeting_service.proto

File renamed without changes.

pom.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
<rest-assured.version>6.0.0</rest-assured.version>
7474
<okhttp.version>4.12.0</okhttp.version>
7575

76-
<grpc.version>1.79.0</grpc.version>
77-
<proto.version>4.33.4</proto.version>
76+
<grpc.version>1.80.0</grpc.version>
77+
<proto.version>4.34.1</proto.version>
7878
<spring-grpc.version>1.0.2</spring-grpc.version>
7979
<jreleaser-maven-plugin.version>1.22.0</jreleaser-maven-plugin.version>
8080

@@ -85,7 +85,6 @@
8585
<json-smart.version>2.6.0</json-smart.version>
8686

8787
<!-- plugins -->
88-
<build-helper-maven-plugin.version>1.9.1</build-helper-maven-plugin.version>
8988
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
9089
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
9190
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
@@ -101,11 +100,18 @@
101100
<distribution-respository-id>ossrh</distribution-respository-id>
102101

103102
<os-maven-plugin.version>1.7.1</os-maven-plugin.version>
104-
<protobuf-maven-plugin.version>4.1.3</protobuf-maven-plugin.version>
103+
<protobuf-maven-plugin.version>5.0.2</protobuf-maven-plugin.version>
105104
</properties>
106105

107106
<dependencyManagement>
108107
<dependencies>
108+
<dependency>
109+
<groupId>com.google.protobuf</groupId>
110+
<artifactId>protobuf-bom</artifactId>
111+
<version>${proto.version}</version>
112+
<type>pom</type>
113+
<scope>import</scope>
114+
</dependency>
109115
<dependency>
110116
<groupId>${project.groupId}</groupId>
111117
<artifactId>jwt-junit5-core</artifactId>

0 commit comments

Comments
 (0)