Set scalatest as a test dependency
Closed this issue · 2 comments
Marcus-Rosti commented
You shouldn't be deploying scalatest
[error] stack trace is suppressed; run last update for the full output
[error] (update) found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] * org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over 1.2.0
[error] +- org.apache.spark:spark-core_2.12:3.5.0 (depends on 2.1.0)
[error] +- org.scalatest:scalatest_2.12:3.1.0 (depends on 1.2.0)
[error]
[error]
[error] this can be overridden using libraryDependencySchemes or evictionErrorLevel
[error] Total time: 0 s, completed May 14, 2024, 11:40:35 AM
workaround
val isolationForestDependencies: Seq[ModuleID] = Seq(
"com.linkedin.isolation-forest" %% "isolation-forest_3.5.0" % isolationForestVersion exclude("org.scalatest", "scalatest_2.12")
)
wangzhongqing commented
这是来自QQ邮箱的假期自动回复邮件。王中情:您好,已收到您的邮件,我会尽快给您回复。谢谢您的邮件!祝您生活愉快!