-
Notifications
You must be signed in to change notification settings - Fork 158
Getting error after upgrading Scala version 2.13.8 -> 2.13.10 #475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @vasigorc you'll need to make sure you're on the latest version of sbt-scoverage, which is 2.0.6. Update and you should see this issue go away. |
Hello @ckipp01 thank you for the follow-up. Trying that fails sbt build ( [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, 1.1.1, 1.0.6, 1.3.0}
[error] +- org.scoverage:scalac-scoverage-reporter_2.12:2.0.7 (depends on 2.1.0)
[error] +- org.scalatra.scalate:scalate-util_2.12:1.9.6 (depends on 1.3.0)
[error] +- org.scalariform:scalariform_2.12:0.2.0 (depends on 1.0.6)
[error] +- org.scala-lang:scala-compiler:2.12.15 (depends on 1.0.6)
[error] +- com.typesafe.sbt:sbt-native-packager:1.8.1 (sbtVersion=1.0, scalaVersion=2.12) (depends on 1.1.1)
[error] +- com.typesafe.play:twirl-api_2.12:1.5.1 (depends on 1.2.0)
[error]
[error]
[error] this can be overridden using libraryDependencySchemes or evictionErrorLevel I'd appreciate any suggestions. |
Thank you, that worked for me. I had to put the workaround in the |
Hello,
We've recently upgraded Scala version from 2.13.8 to 2.13.10 in
build.sbt
and this prevents us from running tests withsbt-coverage
plugin. Here is the summary of this and other related current configurations:in build.sbt:
in build.properties
sbt.version=1.6.2
in plugins.sbt
The application loads, compiles and tests can be run successfully, however when running
sbt coverage test
we get this error:[error] (update) sbt.librarymanagement.ResolveException: Error downloading org.scoverage:scalac-scoverage-plugin_2.13.10:2.0.0 [error] Not found [error] Not found [error] not found: $USER_HOME/.ivy2/localorg.scoverage/scalac-scoverage-plugin_2.13.10/2.0.0/ivys/ivy.xml [error] not found: https://repo1.maven.org/maven2/org/scoverage/scalac-scoverage-plugin_2.13.10/2.0.0/scalac-scoverage-plugin_2.13.10-2.0.0.pom [error] not found: https://repo.osgeo.org/repository/release/org/scoverage/scalac-scoverage-plugin_2.13.10/2.0.0/scalac-scoverage-plugin_2.13.10-2.0.0.pom [error] not found: https://repo.typesafe.com/typesafe/releases/org/scoverage/scalac-scoverage-plugin_2.13.10/2.0.0/scalac-scoverage-plugin_2.13.10-2.0.0.pom [error] Total time: 8 s, completed Oct. 22, 2022, 4:31:56 a.m.
The text was updated successfully, but these errors were encountered: