Skip to content

Commit 1f7930e

Browse files
committed
Update versions to 2.1.2 in README file (+ some 2025 updates)
1 parent 6d232f8 commit 1f7930e

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,43 @@ scoverage-maven-plugin
44
scoverage-maven-plugin is a plugin for Maven that integrates the scoverage code coverage library. Find out more about [scoverage](https://github.com/scoverage/scalac-scoverage-plugin).
55

66
[![Build Status](https://github.com/scoverage/scoverage-maven-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/scoverage/scoverage-maven-plugin/actions/workflows/ci.yml)
7-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.scoverage/scoverage-maven-plugin/badge.svg)](http://search.maven.org/#search|ga|1|g%3A%22org.scoverage%22%20AND%20a%3A%22scoverage-maven-plugin%22)
7+
[![Maven Central](https://maven-badges.sml.io/sonatype-central/org.scoverage/scoverage-maven-plugin/badge.svg)](https://maven-badges.sml.io/sonatype-central/org.scoverage/scoverage-maven-plugin/)
88
[![License](http://img.shields.io/:license-Apache%202-red.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)
99
[![Gitter](https://img.shields.io/gitter/room/scoverage/scoverage.svg)](https://gitter.im/scoverage/scoverage-maven-plugin)
1010

1111
### How to use
1212

1313
mostly used mojos:
1414

15-
- **[check](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/check-mojo.html)** goal compiles classes with instrumentation, runs unit tests and checks coverage,
15+
- **[check](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/check-mojo.html)** goal compiles classes with instrumentation, runs unit tests and checks coverage,
1616

17-
- **[report](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/report-mojo.html)** goal compiles classes with instrumentation, runs unit tests and generates reports,
17+
- **[report](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/report-mojo.html)** goal compiles classes with instrumentation, runs unit tests and generates reports,
1818

19-
- **[integration-check](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/integration-check-mojo.html)** goal compiles classes with instrumentation, runs unit and integration tests and checks coverage,
19+
- **[integration-check](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/integration-check-mojo.html)** goal compiles classes with instrumentation, runs unit and integration tests and checks coverage,
2020

21-
- **[integration-report](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/integration-report-mojo.html)** goal compiles classes with instrumentation, runs unit and integration tests and generates reports,
21+
- **[integration-report](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/integration-report-mojo.html)** goal compiles classes with instrumentation, runs unit and integration tests and generates reports,
2222

2323
additional, sometimes useful, mojos:
2424

25-
- **[test](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/test-mojo.html)** goal compiles classes with instrumentation and runs unit tests,
25+
- **[test](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/test-mojo.html)** goal compiles classes with instrumentation and runs unit tests,
2626

27-
- **[integration-test](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/integration-test-mojo.html)** goal compiles classes with instrumentation and runs unit and integration tests,
27+
- **[integration-test](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/integration-test-mojo.html)** goal compiles classes with instrumentation and runs unit and integration tests,
2828

29-
- **[check-only](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/check-only-mojo.html)** goal only checks coverage using coverage data generated earlier in the build (by **test**, **report**, **integration-test** or **integration-report** goal).
29+
- **[check-only](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/check-only-mojo.html)** goal only checks coverage using coverage data generated earlier in the build (by **test**, **report**, **integration-test** or **integration-report** goal).
3030

31-
- **[report-only](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/report-only-mojo.html)** goal generates reports using coverage data generated earlier in the build (by **test**, **check**, **integration-test** or **integration-check** goal),
31+
- **[report-only](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/report-only-mojo.html)** goal generates reports using coverage data generated earlier in the build (by **test**, **check**, **integration-test** or **integration-check** goal),
3232

33-
- **[package](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/package-mojo.html)** goal generates artifact file containing instrumented classes (e.g. for testing outside of the Maven build),
33+
- **[package](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/package-mojo.html)** goal generates artifact file containing instrumented classes (e.g. for testing outside of the Maven build),
3434

3535
internal mojos:
3636

37-
- **[pre-compile](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/pre-compile-mojo.html)** and **[post-compile](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/post-compile-mojo.html)** are internal goals, they configure Maven build in forked `scoverage` life cycle; don't use them.
37+
- **[pre-compile](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/pre-compile-mojo.html)** and **[post-compile](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/post-compile-mojo.html)** are internal goals, they configure Maven build in forked `scoverage` life cycle; don't use them.
3838

3939
### Maven generated plugin documentation
4040

4141
| Version | Documentation |
4242
|----------|------------------------------------------------------------------------------------------|
43-
| `2.1.0` | [Plugin Info](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/plugin-info.html) |
43+
| `2.1.2` | [Plugin Info](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/plugin-info.html) |
4444
| `1.4.11` | [Plugin Info](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/plugin-info.html) |
4545

4646
### Prerequisites / limitations
@@ -60,7 +60,7 @@ This can be set as project property.
6060
```xml
6161
<project>
6262
<properties>
63-
<scoverage.plugin.version>2.1.0</scoverage.plugin.version>
63+
<scoverage.plugin.version>2.1.2</scoverage.plugin.version>
6464
</properties>
6565
</project>
6666
```
@@ -76,7 +76,7 @@ If all the attempts to resolve the Scala version fail, then coverage will not be
7676
```xml
7777
<project>
7878
<properties>
79-
<scala.version>2.13.16</scala.version>
79+
<scala.version>2.13.17</scala.version>
8080
</properties>
8181
</project>
8282
```
@@ -92,7 +92,7 @@ or
9292
<artifactId>scoverage-maven-plugin</artifactId>
9393
<version>${scoverage.plugin.version}</version>
9494
<configuration>
95-
<scalaVersion>2.13.15</scalaVersion>
95+
<scalaVersion>2.13.17</scalaVersion>
9696
<!-- other parameters -->
9797
</configuration>
9898
</plugin>
@@ -296,9 +296,9 @@ Which reporting mojo should be selected:
296296

297297
| Reporting mojo | When |
298298
|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
299-
| [report](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/report-mojo.html) | When not using integration tests (most cases) |
300-
| [integration-report](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/integration-report-mojo.html) | When using integration tests |
301-
| [report-only](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/report-only-mojo.html) | When coverage data was already generated (usually by [check](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/check-mojo.html) or [integration-check](http://scoverage.github.io/scoverage-maven-plugin/2.1.0/integration-check-mojo.html) mojo) |
299+
| [report](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/report-mojo.html) | When not using integration tests (most cases) |
300+
| [integration-report](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/integration-report-mojo.html) | When using integration tests |
301+
| [report-only](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/report-only-mojo.html) | When coverage data was already generated (usually by [check](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/check-mojo.html) or [integration-check](http://scoverage.github.io/scoverage-maven-plugin/2.1.2/integration-check-mojo.html) mojo) |
302302

303303
### Customizing code instrumentation
304304

@@ -490,7 +490,7 @@ Set sonatype credentials in `~/.m2/settings.xml`:
490490
<server>
491491
<id>central</id>
492492
<username>sonatype-username-goes-here</username>
493-
<password>sonatype-password-goes-here</password>
493+
<password>sonatype-token-goes-here</password>
494494
</server>
495495
</servers>
496496
</settings>
@@ -503,13 +503,13 @@ Make sure you have proper pgp keys set up. See [Maven Central Guide](https://cen
503503
`mvn -Darguments="-Dmaven.test.skip=true" -B release:clean release:prepare release:perform -P release`.
504504
2. Wait ~ 8 hours for sync to maven central.
505505
3. Check jars are available in maven central https://search.maven.org/artifact/org.scoverage/scoverage-maven-plugin and GH label in README is updated.
506-
4. Checkout new tag, e.g. `git checkout scoverage-maven-plugin-2.1.0`.
506+
4. Checkout new tag, e.g. `git checkout scoverage-maven-plugin-2.1.2`.
507507
5. Generate site docs with `mvn clean site -P publicsite` and check that all required docs are generated in `./target/site`.
508508
6. Checkout `gh-pages` branch, e.g. `git checkout gh-pages`.
509-
7. Copy generated site to new directory named as version number, e.g. `cp -r ./target/site ./2.1.0`, commit and push.
510-
8. Wait several seconds for the docs to be published and verify, e.g. https://scoverage.github.io/scoverage-maven-plugin/2.1.0/check-mojo.html.
509+
7. Copy generated site to new directory named as version number, e.g. `cp -r ./target/site ./2.1.2`, commit and push.
510+
8. Wait several seconds for the docs to be published and verify, e.g. https://scoverage.github.io/scoverage-maven-plugin/2.1.2/check-mojo.html.
511511
9. Checkout `main` branch, e.g. `git checkout main`.
512-
10. Update versions in README, e.g. `sed -i 's/2.0.6/2.1.0/g' README.md`, commit and push.
512+
10. Update versions in README, e.g. `sed -i 's/2.1.0/2.1.2/g' README.md`, commit and push.
513513
11. Create new Release on GitHub.
514514

515515

@@ -519,7 +519,7 @@ This process will be fully or partially automated in the future.
519519
```
520520
This software is licensed under the Apache 2 license, quoted below.
521521
522-
Copyright 2014-2024 Grzegorz Slowikowski
522+
Copyright 2014-2025 Grzegorz Slowikowski
523523
524524
Licensed under the Apache License, Version 2.0 (the "License"); you may not
525525
use this file except in compliance with the License. You may obtain a copy of

0 commit comments

Comments
 (0)