File tree 3 files changed +9
-5
lines changed
src/main/java/org/scoverage/plugin
3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,11 @@ under the License.
211
211
<artifactId >maven-compiler-plugin</artifactId >
212
212
<version >3.13.0</version >
213
213
<configuration >
214
- <release >11</release >
214
+ <release >17</release >
215
+ <compilerArgs >
216
+ <arg >-Xlint:all</arg >
217
+ <arg >-Xlint:-processing</arg >
218
+ </compilerArgs >
215
219
</configuration >
216
220
</plugin >
217
221
@@ -272,10 +276,10 @@ under the License.
272
276
<detectJavaApiLink >false</detectJavaApiLink >
273
277
<subpackages >org.scoverage.plugin</subpackages >
274
278
<links >
275
- <link >https://docs.oracle.com/en/java/javase/11/docs/api/</link >
276
- <link >https://maven.apache.org/ref/${maven.version} /apidocs/</link >
279
+ <link >https://docs.oracle.com/en/java/javase/17/docs/api/</link >
277
280
<link >https://maven.apache.org/shared-archives/maven-reporting-api-${maven-reporting-api.version} /apidocs/</link >
278
281
<link >https://maven.apache.org/doxia/components/doxia-archives/doxia-${doxia.version} /apidocs/</link >
282
+ <link >https://maven.apache.org/ref/${maven.version} /apidocs/</link >
279
283
</links >
280
284
<notimestamp >true</notimestamp >
281
285
</configuration >
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ public void execute()
388
388
389
389
try
390
390
{
391
- RenderingContext context = new RenderingContext ( outputDirectory , getOutputName () + ".html" );
391
+ RenderingContext context = new RenderingContext ( outputDirectory , getOutputName () + ".html" , null );
392
392
SiteRendererSink sink = new SiteRendererSink ( context );
393
393
Locale locale = Locale .getDefault ();
394
394
generate ( sink , locale );
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public ScalaVersion(String s) {
80
80
// compute compatible
81
81
compatible =
82
82
modifier != null ? full : // non-stable versions are not compatible with anything else
83
- isScala2 () ? major + "." + minor : // Scala 2.X.Y is compatible with any Scala 2.X.Z
83
+ major == 2 ? major + "." + minor : // Scala 2.X.Y is compatible with any Scala 2.X.Z
84
84
major + "" ; // Scala 3.X is compatible with any Scala 3.Y
85
85
}
86
86
You can’t perform that action at this time.
0 commit comments