diff --git a/pom.xml b/pom.xml index 9786ba047044a..e1a9a03279c3a 100644 --- a/pom.xml +++ b/pom.xml @@ -3569,7 +3569,7 @@ scala-2.13 - 2.13.8 + 2.13.11 2.13 @@ -3628,6 +3628,10 @@ --> -Wconf:cat=unused-imports&src=org\/apache\/spark\/graphx\/impl\/VertexPartitionBase.scala:s -Wconf:cat=unused-imports&src=org\/apache\/spark\/graphx\/impl\/VertexPartitionBaseOps.scala:s + + -Wconf:msg=Implicit definition should have explicit type:s diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index a2136985dccdd..c57fbe596dfe5 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -286,7 +286,9 @@ object SparkBuild extends PomBuild { // TODO(SPARK-43850): Remove the following suppression rules and remove `import scala.language.higherKinds` // from the corresponding files when Scala 2.12 is no longer supported. "-Wconf:cat=unused-imports&src=org\\/apache\\/spark\\/graphx\\/impl\\/VertexPartitionBase.scala:s", - "-Wconf:cat=unused-imports&src=org\\/apache\\/spark\\/graphx\\/impl\\/VertexPartitionBaseOps.scala:s" + "-Wconf:cat=unused-imports&src=org\\/apache\\/spark\\/graphx\\/impl\\/VertexPartitionBaseOps.scala:s", + // SPARK-40497 Upgrade Scala to 2.13.11 and suppress `Implicit definition should have explicit type` + "-Wconf:msg=Implicit definition should have explicit type:s" ) } }