You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the following commands inside the sbt shell sbt clean test everything just works fine.
As soon as I activate coverage before test and try to run the tests trough sbt I get following output.
[IJ]coverage
[info] Defining ThisBuild / coverageEnabled
[info] The new value will be used by Compile / compile / scalacOptions, libraryDependencies
[info] Reapplying settings...
[info] set current project to my-project (in build file:/D:/Projects/my-project/)
[IJ]test
[warn]
[warn] Note: Unresolved dependencies path:
[error] stack trace is suppressed; run 'last update' for the full output
[error] (update) sbt.librarymanagement.ResolveException: Error downloading org.scoverage:scalac-scoverage-runtime_3:1.4.10
[error] Not found
[error] Not found
[error] not found: C:\Users\USER\.ivy2\localorg.scoverage\scalac-scoverage-runtime_3\1.4.10\ivys\ivy.xml
[error] not found: https://repo1.maven.org/maven2/org/scoverage/scalac-scoverage-runtime_3/1.4.10/scalac-scoverage-runtime_3-1.4.10.pom
[error] Total time: 0 s, completed 04.11.2021, 16:23:17
I already tried downgrading all versions of the visible plugins and dependencies to avoid the problem. Nothing really changed.
For me it seems like as I activate coverage sbt tries to reference a library which is not reachable. In this case it would for what ever reason be the pom file of scalac-scoverage-runtime_3\1.4.10\ that doesn't exist yet.
Has anyone an idea on that problem?
Thank you for helping me out!
PS.: Take it easy on me as this is my first issue I put out ever in my whole GitHub history.
The text was updated successfully, but these errors were encountered:
PS.: Take it easy on me as this is my first issue I put out ever in my whole GitHub history.
Whoa whoa whoa, hold the ☎️ . I must admit I read this quickly and didn't realize this was your first issue ever! Haha, sorry to close so quickly on your first issue! As Seth mentioned, welcome to the GitHub / Open Source / Scala world!
Your project is in Scala 3, which should hopefully be supported soon, but for the time being I'd recommend just removing the plugin altogether. Follow the future Scala 3 releases and you should see it announced in the upcoming releases that coverage is supported. When you see that, then add the plugin back in.
Please do report back if you have any other issues. Cheers and good luck!
IDE_version:
Scala_version:
build.properties:
libraryDependencies:
plugins:
CI/CD:
When I use the following commands inside the sbt shell
sbt clean test
everything just works fine.As soon as I activate
coverage
beforetest
and try to run the tests trough sbt I get following output.I already tried downgrading all versions of the visible plugins and dependencies to avoid the problem. Nothing really changed.
For me it seems like as I activate coverage sbt tries to reference a library which is not reachable. In this case it would for what ever reason be the pom file of
scalac-scoverage-runtime_3\1.4.10\
that doesn't exist yet.Has anyone an idea on that problem?
Thank you for helping me out!
PS.: Take it easy on me as this is my first issue I put out ever in my whole GitHub history.
The text was updated successfully, but these errors were encountered: