Skip to content

Commit 52a748b

Browse files
committed
[HUDI-4906] Fix the local tests for hudi-flink
1 parent 1380075 commit 52a748b

6 files changed

Lines changed: 6 additions & 7 deletions

File tree

hudi-cli/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
<dependency>
154154
<groupId>org.scala-lang</groupId>
155155
<artifactId>scala-library</artifactId>
156+
<version>${scala.version}</version>
156157
</dependency>
157158

158159
<dependency>

hudi-client/hudi-spark-client/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<dependency>
3535
<groupId>org.scala-lang</groupId>
3636
<artifactId>scala-library</artifactId>
37+
<version>${scala.version}</version>
3738
</dependency>
3839

3940
<dependency>

hudi-examples/hudi-examples-spark/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
<dependency>
113113
<groupId>org.scala-lang</groupId>
114114
<artifactId>scala-library</artifactId>
115+
<version>${scala.version}</version>
115116
</dependency>
116117

117118
<dependency>

hudi-flink-datasource/hudi-flink/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@
230230
<dependency>
231231
<groupId>org.apache.avro</groupId>
232232
<artifactId>avro</artifactId>
233-
<version>${avro.version}</version>
233+
<!-- Override the version to be same with Flink avro -->
234+
<version>1.10.0</version>
234235
<scope>compile</scope>
235236
</dependency>
236237

hudi-spark-datasource/hudi-spark-common/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
<dependency>
147147
<groupId>org.scala-lang</groupId>
148148
<artifactId>scala-library</artifactId>
149+
<version>${scala.version}</version>
149150
</dependency>
150151

151152
<dependency>

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -628,12 +628,6 @@
628628
<dependencyManagement>
629629
<dependencies>
630630
<!-- Scala -->
631-
<dependency>
632-
<groupId>org.scala-lang</groupId>
633-
<artifactId>scala-library</artifactId>
634-
<version>${scala.version}</version>
635-
</dependency>
636-
637631
<dependency>
638632
<groupId>org.scala-lang.modules</groupId>
639633
<artifactId>scala-collection-compat_${scala.binary.version}</artifactId>

0 commit comments

Comments
 (0)