LuciferYang commented on code in PR #44444:
URL: https://github.com/apache/spark/pull/44444#discussion_r1434609660
##########
project/SparkBuild.scala:
##########
@@ -1373,6 +1373,7 @@ object Unidoc {
classpaths
.map(_.filterNot(_.data.getCanonicalPath.matches(""".*kafka-clients-0\.10.*""")))
.map(_.filterNot(_.data.getCanonicalPath.matches(""".*kafka_2\..*-0\.10.*""")))
+ .map(_.filterNot(_.data.getCanonicalPath.contains("apache-rat")))
Review Comment:
@HyukjinKwon Thank you for your suggestion. I first thought of this
approach, but the question is which version of the dependency should be pinned?
Apache commons-lang3? This seems somewhat futile. The current situation is that
there is an old version of commons-lang3 code in `lib/apache-rat-0.14.jar` that
has been shaded but not relocated. I haven't figured out how to exclude this
code from the classpath using `DependencyOverrides`. Additionally, this only
affects the build of scala unidoc, and it seems that the difference only exists
in the `unidocAllClasspaths` memory when building scala unidoc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]