Skip to content

Commit

Permalink
[FLINK-28173][formats] Specify guava version explicitly in flink-orc …
Browse files Browse the repository at this point in the history
…and flink-parquet.
  • Loading branch information
liujia10 authored and MartijnVisser committed Jun 28, 2022
1 parent 99ccebf commit ce66d19
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
22 changes: 10 additions & 12 deletions flink-formats/flink-orc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,24 +99,12 @@ under the License.
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Tests -->
Expand Down Expand Up @@ -176,6 +164,16 @@ under the License.

</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>27.0.1-jre</version>
</dependency>
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<!-- This profile adds dependencies needed to execute the tests
Expand Down
18 changes: 10 additions & 8 deletions flink-formats/flink-parquet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ under the License.
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand All @@ -113,10 +109,6 @@ under the License.
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down Expand Up @@ -229,6 +221,16 @@ under the License.
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>27.0.1-jre</version>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<extensions>
<extension>
Expand Down

0 comments on commit ce66d19

Please sign in to comment.