Skip to content

Commit f3721e7

Browse files
SONARJAVA-5511 Update required Java version and test source folder in README (#5099)
There was some incorrectness concerning java-checks-test-sources and Java 23 is now required to compile some test code.
1 parent 34cd7cc commit f3721e7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ To run tests locally follow these instructions.
5555

5656
### Java versions
5757

58-
You need `Java 22` to build the project and `Java 17` run the Integration Tests (ITs).
59-
* `Java 17` can be used to build and test all modules except under `java-checks-test-sources` that requires `Java 22`.
60-
* `Java 22` can be used to build and test all modules except under `its` that requires `Java 17` because of SQ incompatibility.
58+
You need `Java 23` to build the project and `Java 17` run the Integration Tests (ITs).
59+
* `Java 17` can be used to build and test all modules except under `java-checks-test-sources` that requires `Java 23`.
60+
* `Java 23` can be used to build and test all modules except under `its` that requires `Java 17` because of SQ incompatibility.
6161

6262
### Build the Project and Run Unit Tests
6363

@@ -160,11 +160,11 @@ Running this test can be broken down in 2 steps:
160160

161161
##### Compiling the test sources
162162

163-
Make sure that the `java-checks-tests-sources` module has been compiled (ie: the .class files in `java-checks-tests-sources/target/` are up to date).
163+
Make sure that the `java-checks-test-sources` module has been compiled (ie: the .class files in `java-checks-test-sources/target/` are up to date).
164164

165-
In doubt, go the [`java-checks-tests-sources`](java-checks-tests-sources) module and run:
165+
In doubt, go the [`java-checks-test-sources`](java-checks-tests-sources) module and run:
166166
```shell
167-
# Use java 22!
167+
# Use java 23!
168168
mvn clean compile
169169
```
170170

0 commit comments

Comments
 (0)