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
Plugin supports Scala 2.10.x, 2.11.x, 2.12.x and 2.13.x versions by automatically loading and configuring scalac-scoverage-plugin_2.10, scalac-scoverage-plugin_2.11, scalac-scoverage-plugin_2.12 or scalac-scoverage-plugin_2.13 Scalac SCoverage Plugin artifact. For this to work Scala version has to be set. It can be done by defining `scalaVersion` plugin configuration parameter or `scala.version` project property. Without this setting, coverage will not be calculated.
72
+
Plugin supports Scala 2.12.x and 2.13.x versions by automatically loading and configuring matching `scalac-scoverage-plugin` Scalac SCoverage Plugin artifact. For this to work Scala version has to be set. It can be done by defining `scalaVersion` plugin configuration parameter or `scala.version` project property. Without this setting, coverage will not be calculated.
73
73
74
74
```xml
75
75
<project>
76
76
<properties>
77
-
<scala.version>2.13.8</scala.version>
77
+
<scala.version>2.13.12</scala.version>
78
78
</properties>
79
79
</project>
80
80
```
@@ -90,7 +90,7 @@ or
90
90
<artifactId>scoverage-maven-plugin</artifactId>
91
91
<version>${scoverage.plugin.version}</version>
92
92
<configuration>
93
-
<scalaVersion>2.13.8</scalaVersion>
93
+
<scalaVersion>2.13.12</scalaVersion>
94
94
<!-- other parameters -->
95
95
</configuration>
96
96
</plugin>
@@ -113,6 +113,8 @@ The first method is better because once the property is defined it's value can b
113
113
</project>
114
114
```
115
115
116
+
For Scala 2.10 and 2.11 support please use Scoverage Maven plugin `1.4.11`.
117
+
116
118
##### Scalac SCoverage plugin version configuration
117
119
118
120
Maven SCoverage plugin uses by default the latest version of the [scalac-scoverage-plugin](https://github.com/scoverage/scalac-scoverage-plugin) available on its release day.
@@ -122,7 +124,7 @@ It can be configured by defining `scalacPluginVersion` plugin configuration para
thrownewIllegalStateException( String.format( "Unsupported scalacPluginVersion \"%s\". Please use scalacPluginVersion 2.0.0+ or use older version of scoverage-maven-plugin", scalacPluginVersion ) );
0 commit comments