Open
Description
I built and published library X, using sbt-scoverage 1.6.1 and following settings:
coverageEnabled := true,
coverageMinimum := 50,
coverageFailOnMinimum := true,
coverageHighlighting := false,
(test in Test) := {
coverageReport.dependsOn(test in Test).value
}
Now, I'm trying to build library Y without scoverage enabled, but with dependency on X. Travis gives me the following exception:
Caused by: java.io.FileNotFoundException: /home/travis/build/mycompany/X/submodule-of-X/target/scala-2.12/scoverage-data/scoverage.measurements.97 (No such file or directory)
I think the solution is to disable scoverage during X's publish (at least what I see in simlar #84 and #228), but I just wanted to raise this as a bug, because it feels very confusing that someone can enable a minor enhancement in their lib and crash other's people builds.
Thanks!