From 6357b22ba806868ed5eb7ffbd47a578d5901194e Mon Sep 17 00:00:00 2001 From: Gengliang Wang Date: Fri, 20 Aug 2021 10:45:16 +0800 Subject: [PATCH] [SPARK-36547][BUILD] Downgrade scala-maven-plugin to 4.3.0 ### What changes were proposed in this pull request? When preparing Spark 3.2.0 RC1, I hit the same issue of https://github.com/apache/spark/pull/31031. ``` [INFO] Compiling 21 Scala sources and 3 Java sources to /opt/spark-rm/output/spark-3.1.0-bin-hadoop2.7/resource-managers/yarn/target/scala-2.12/test-classes ... [ERROR] ## Exception when compiling 24 sources to /opt/spark-rm/output/spark-3.1.0-bin-hadoop2.7/resource-managers/yarn/target/scala-2.12/test-classes java.lang.SecurityException: class "javax.servlet.SessionCookieConfig"'s signer information does not match signer information of other classes in the same package java.lang.ClassLoader.checkCerts(ClassLoader.java:891) java.lang.ClassLoader.preDefineClass(ClassLoader.java:661) ``` This PR is to apply the same fix again by downgrading scala-maven-plugin to 4.3.0 ### Why are the changes needed? To unblock the release process. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Build test Closes #33791 from gengliangwang/downgrade. Authored-by: Gengliang Wang Signed-off-by: Gengliang Wang (cherry picked from commit f0775d215e73de9e34d36b3ea2468d97e6c79b3f) Signed-off-by: Gengliang Wang --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d2dfab022b..ffd59ca843 100644 --- a/pom.xml +++ b/pom.xml @@ -2572,7 +2572,8 @@ net.alchim31.maven scala-maven-plugin - 4.5.3 + + 4.3.0 eclipse-add-source