Skip to content

Commit 6eb0c48

Browse files
committed
examples: Fix RequireUpperBoundDeps
1 parent c5ef574 commit 6eb0c48

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

examples/example-debug/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
<artifactId>grpc-netty-shaded</artifactId>
5656
<scope>runtime</scope>
5757
</dependency>
58+
<dependency> <!-- prevent downgrade of version in protobuf-java-util from grpc-services -->
59+
<groupId>com.google.guava</groupId>
60+
<artifactId>guava</artifactId>
61+
<version>31.1-jre</version>
62+
</dependency>
5863
<dependency>
5964
<groupId>junit</groupId>
6065
<artifactId>junit</artifactId>

examples/example-hostname/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
<artifactId>grpc-netty-shaded</artifactId>
5656
<scope>runtime</scope>
5757
</dependency>
58+
<dependency> <!-- prevent downgrade of version in protobuf-java-util from grpc-services -->
59+
<groupId>com.google.guava</groupId>
60+
<artifactId>guava</artifactId>
61+
<version>31.1-jre</version>
62+
</dependency>
5863
<dependency>
5964
<groupId>junit</groupId>
6065
<artifactId>junit</artifactId>

examples/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
<artifactId>gson</artifactId>
6161
<version>2.9.0</version> <!-- prevent downgrade via protobuf-java-util -->
6262
</dependency>
63+
<dependency>
64+
<groupId>com.google.guava</groupId>
65+
<artifactId>guava</artifactId>
66+
<version>31.1-jre</version> <!-- prevent downgrade of version in protobuf-java-util -->
67+
</dependency>
6368
<dependency>
6469
<groupId>org.apache.tomcat</groupId>
6570
<artifactId>annotations-api</artifactId>

0 commit comments

Comments
 (0)