Skip to content

Eviction problems #590

@DavidPerezIngeniero

Description

@DavidPerezIngeniero

I add latest scorage plugin to SBT.
Whenever I run coverageReport, I get this SBT error:

[error] stack trace is suppressed; run last servision / update for the full output
[error] (servision / update) found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error] 
[error]         * org.scala-lang.modules:scala-xml_2.13:2.3.0 (early-semver) is selected over {1.2.0}
[error]             +- org.scoverage:scalac-scoverage-reporter_2.13:2.3.0 (depends on 2.3.0)
[error]             +- org.scalatra:scalatra_2.13:2.7.0                   (depends on 1.2.0)
[error]             +- org.json4s:json4s-xml_2.13:3.6.7                   (depends on 1.2.0)

This is because scoverage-reporter introduces a very new version of scala-xml, that is newest than the one used by e.g. scalatest

  |   +-org.scalatest:scalatest-diagrams_2.13:3.2.19 [S]
  |   | +-org.scala-lang:scala-reflect:2.13.12 [S]
  |   | +-org.scalatest:scalatest-core_2.13:3.2.19 [S]
  |   |   +-org.scala-lang.modules:scala-xml_2.13:2.1.0 [S]
  |   |   +-org.scala-lang:scala-reflect:2.13.12 [S]
  |   |   +-org.scalactic:scalactic_2.13:3.2.19 [S]
  |   |   | +-org.scala-lang:scala-reflect:2.13.12 [S]
  |   |   | 
  |   |   +-org.scalatest:scalatest-compatible:3.2.19

Any easy workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions