Skip to content

Commit fafb987

Browse files
committed
HADOOP-19343: Manage hadoop-gcp Guava version directly in its pom.xml.
1 parent 7ed24ad commit fafb987

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

hadoop-project/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
<findbugs.version>3.0.5</findbugs.version>
109109
<dnsjava.version>3.6.1</dnsjava.version>
110110

111-
<guava.version>33.1.0-jre</guava.version>
111+
<guava.version>27.0-jre</guava.version>
112112
<guice.version>5.1.0</guice.version>
113113

114114
<bouncycastle.version>1.78.1</bouncycastle.version>

hadoop-tools/hadoop-gcp/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,11 @@
427427

428428
<dependencyManagement>
429429
<dependencies>
430+
<dependency>
431+
<groupId>com.google.guava</groupId>
432+
<artifactId>guava</artifactId>
433+
<version>33.1.0-jre</version>
434+
</dependency>
430435
<dependency>
431436
<!--
432437
We're using a specific Protobuf version to ensure compatibility with the
@@ -457,6 +462,11 @@
457462
<groupId>javax.enterprise</groupId>
458463
<artifactId>cdi-api</artifactId>
459464
</exclusion>
465+
<!-- Exclude guava 27.0-jre -->
466+
<exclusion>
467+
<groupId>com.google.guava</groupId>
468+
<artifactId>guava</artifactId>
469+
</exclusion>
460470
<!-- Exclude protobuf-java 2.5.0 -->
461471
<exclusion>
462472
<groupId>com.google.protobuf</groupId>

0 commit comments

Comments
 (0)