-
Notifications
You must be signed in to change notification settings - Fork 47
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
Consider using Scala's patch version to determine the artifactId of the scalac-scoverage-plugin #94
Comments
stewartHutchins
changed the title
Use use scala's patch version to determine the correct scoverage-scalac-plugin
Consider using scala's patch version to determine the correct version of scoverage-scalac-plugin
May 25, 2021
stewartHutchins
changed the title
Consider using scala's patch version to determine the correct version of scoverage-scalac-plugin
Consider using Scala's patch version to determine the correct version of scoverage-scalac-plugin
May 25, 2021
stewartHutchins
changed the title
Consider using Scala's patch version to determine the correct version of scoverage-scalac-plugin
Consider using Scala's patch version to determine the artifactId of the scoverage-scalac-plugin
May 25, 2021
stewartHutchins
changed the title
Consider using Scala's patch version to determine the artifactId of the scoverage-scalac-plugin
Consider using Scala's patch version to determine the artifactId of the scalac-scoverage-plugin
May 25, 2021
i have the same problem (error 1) :(( waiting for new version for maven |
Raised PR #95 to follow above suggestion |
gslowikowski
added a commit
that referenced
this issue
Jan 30, 2022
Add warning message while falling back from specific to main Scala version
Version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
We are currently trying to use the
check
goal with the scoverage-maven-plugin version: 1.4.1 and Scala version 2.12.13When configuring scalacPluginVersions with value:
1.4.1
or1.4.2
we get the following error:java.lang.NoSuchMethodError: scala.tools.nsc.Global.reporter()Lscala/tools/nsc/report
When using scalacPluginVersions:
1.4.3
or greater we get an error similar to the following:Could not find artifact org.scoverage:scalac-scoverage-plugin-2.12:jar:1.4.7 in <internal-repository>
); this is during thepre-compile stage
Based on this sbt-scoverage issue we gather that the Scala 2.12.13 compiler not backwards compatible (resulting in the 1st error). I'm assuming this is why the scala-scoverage-plugin has begun to include Scala's patch version as part of it's artifactId.
Additionally, based on SCoveragePreCompileMojo we gather that the plugin ignores Scala's patch version when determining which version of the scalac-scoverage-plugin to use (resulting in the 2nd error).
If the above seems correct and reasonable, would you consider updating the maven plugin so that we are able to use a newer version of the scalac-scoverage-plugin - allowing us to use SCoverage with Scala 2.12.13?
Please let me know if the provided information is not sufficient.
Thanks,
Stewart
The text was updated successfully, but these errors were encountered: