Skip to content

Commit e3d0e90

Browse files
committed
Update versions to 2.0.0 in README file
1 parent f0a1220 commit e3d0e90

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

README.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,36 @@ scoverage-maven-plugin is a plugin for Maven that integrates the scoverage code
1414

1515
mostly used mojos:
1616

17-
- **[check](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/check-mojo.html)** goal compiles classes with instrumentation, runs unit tests and checks coverage,
17+
- **[check](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/check-mojo.html)** goal compiles classes with instrumentation, runs unit tests and checks coverage,
1818

19-
- **[report](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/report-mojo.html)** goal compiles classes with instrumentation, runs unit tests and generates reports,
19+
- **[report](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/report-mojo.html)** goal compiles classes with instrumentation, runs unit tests and generates reports,
2020

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

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

2525
additional, sometimes useful, mojos:
2626

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

29-
- **[integration-test](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/integration-test-mojo.html)** goal compiles classes with instrumentation and runs unit and integration tests,
29+
- **[integration-test](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/integration-test-mojo.html)** goal compiles classes with instrumentation and runs unit and integration tests,
3030

31-
- **[check-only](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/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).
31+
- **[check-only](http://scoverage.github.io/scoverage-maven-plugin/2.0.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).
3232

33-
- **[report-only](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/report-only-mojo.html)** goal generates reports using coverage data generated earlier in the build (by **test**, **check**, **integration-test** or **integration-check** goal),
33+
- **[report-only](http://scoverage.github.io/scoverage-maven-plugin/2.0.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),
3434

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

3737
internal mojos:
3838

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

4141
Maven generated plugin documentation:
4242

43-
| Version | Documentation |
44-
|------------------|--------------------------------------------------------------------------------------------------|
45-
| `1.4.11` | [Plugin Info](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/plugin-info.html) |
43+
| Version | Documentation |
44+
|---------------|-----------------------------------------------------------------------------------------------|
45+
| `2.0.0` | [Plugin Info](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/plugin-info.html) |
46+
| `1.4.11` | [Plugin Info](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/plugin-info.html) |
4647

4748
##### Prerequisites / limitations
4849

@@ -292,11 +293,11 @@ Configure one of them depending on your case.
292293

293294
Which reporting mojo should be selected:
294295

295-
| Reporting mojo | When |
296-
|----------------------|-----------------------------------------------|
297-
| [report](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/report-mojo.html) | When not using integration tests (most cases) |
298-
| [integration-report](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/integration-report-mojo.html) | When using integration tests |
299-
| [report-only](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/report-only-mojo.html) | When coverage data was already generated (usually by [check](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/check-mojo.html) or [integration-check](http://scoverage.github.io/scoverage-maven-plugin/1.4.11/integration-check-mojo.html) mojo) |
296+
| Reporting mojo | When |
297+
|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
298+
| [report](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/report-mojo.html) | When not using integration tests (most cases) |
299+
| [integration-report](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/integration-report-mojo.html) | When using integration tests |
300+
| [report-only](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/report-only-mojo.html) | When coverage data was already generated (usually by [check](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/check-mojo.html) or [integration-check](http://scoverage.github.io/scoverage-maven-plugin/2.0.0/integration-check-mojo.html) mojo) |
300301

301302
##### Customizing code instrumentation
302303

@@ -464,8 +465,10 @@ If you want to set multiple properties from within `<additionalForkedProjectProp
464465

465466

466467
## Examples
468+
There are many example projects in [integration tests](src/it) directory. To run them, execute `mvn integration-test`.
469+
To execute only one of them, execute `mvn integration-test -Dinvoker.test=test_aggregate`, where `test_aggregate` is the name of the directory with the example project.
467470

468-
There are many [example projects](https://github.com/scoverage/scoverage-maven-samples/tree/scoverage-maven-samples-1.4.11/).
471+
Also, there are many [example projects](https://github.com/scoverage/scoverage-maven-samples/tree/scoverage-maven-samples-1.4.11/) for older versions of the plugin in a separate repo.
469472
Go to one of them and run `mvn site`.
470473

471474
## License

0 commit comments

Comments
 (0)