Skip to content

Commit 0140171

Browse files
committed
corretcion technical Integration tests + update all version libraries
1 parent 77b907c commit 0140171

File tree

3 files changed

+27
-21
lines changed

3 files changed

+27
-21
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
- compatibility updates for SonarQube 25.5.0
15+
- upgrade libraries versions
16+
- correction of technical problem with Integration tests (because of Maven format in technical answer to "sonar-orchestrator-junit5" library)
17+
1418
### Deleted
1519

1620
## [2.1.1] - 2025-03-13

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Ready to use binaries are available [from GitHub](https://github.com/green-code-
6161
|----------------|---------------------|------------------------------------------------------------------------------------------------|
6262
| 1.6.+ | 9.4.+ LTS to 10.6.0 | 11 / 17 |
6363
| 1.7.+ | 9.9.+ LTS to 10.6.0 | [17](https://docs.sonarsource.com/sonarqube/9.9/requirements/prerequisites-and-overview/#java) |
64-
| 2.+ | 9.9.+ LTS to 25.3.0 | [17](https://docs.sonarsource.com/sonarqube/9.9/requirements/prerequisites-and-overview/#java) |
64+
| 2.+ | 9.9.+ LTS to 25.5.0 | [17](https://docs.sonarsource.com/sonarqube/9.9/requirements/prerequisites-and-overview/#java) |
6565

6666
> Compatibility table of versions lower than 1.4.+ are available from the
6767
> main [creedengo repository](https://github.com/green-code-initiative/creedengo-rules-specifications#-plugins-version-compatibility).

pom.xml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,29 @@
5353
<sonar.organization>green-code-initiative</sonar.organization>
5454
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5555

56-
<!-- Version of SonarQube for integration tests -->
57-
<sonarqube.version>9.9.7.96285</sonarqube.version>
56+
<!-- Minimal version of the SonarQube APIs for `creedengo-java-plugin` -->
57+
<sonarqube-plugin-api-min.version>9.9.0.65466</sonarqube-plugin-api-min.version>
58+
5859
<!-- Version of the SonarQube APIs used by `creedengo-java-plugin` -->
59-
<sonar.plugin.api.version>9.8.0.203</sonar.plugin.api.version>
60+
<sonar.plugin.api.version>11.4.0.2922</sonar.plugin.api.version>
6061

6162
<!-- Version of `sonar-java-plugin` that `creedengo-java-plugin` depends on -->
62-
<sonarjava.version>7.16.0.30901</sonarjava.version>
63+
<!-- last version that all is OK -->
64+
<sonarjava.version>8.9.1.38281</sonarjava.version>
65+
<!-- next version is NOT OK -->
66+
<!-- <sonarjava.version>8.13.0.38826</sonarjava.version>-->
6367

64-
<sonar-analyzer-commons.version>2.5.0.1358</sonar-analyzer-commons.version>
68+
<sonar-analyzer-commons.version>2.17.0.3322</sonar-analyzer-commons.version>
6569

6670
<sonar-packaging.version>1.23.0.740</sonar-packaging.version>
6771

68-
<junit.jupiter.version>5.9.1</junit.jupiter.version>
69-
<assertJ.version>3.23.1</assertJ.version>
70-
<mockito.version>5.3.1</mockito.version>
72+
<junit.jupiter.version>5.12.2</junit.jupiter.version>
73+
74+
<assertJ.version>3.27.3</assertJ.version>
75+
76+
<mockito.version>5.17.0</mockito.version>
7177

72-
<google.re2j>1.7</google.re2j>
78+
<google.re2j>1.8</google.re2j>
7379

7480
<!-- Version of creedengo rules specifications implemented by this plugin -->
7581
<creedengo-rules-specifications.version>2.2.2</creedengo-rules-specifications.version>
@@ -80,22 +86,18 @@
8086
<test-it.sonarqube.keepRunning>false</test-it.sonarqube.keepRunning>
8187

8288
<!-- Version of `sonarqube` used by integration tests (you can override this value to perform matrix compatibility tests) -->
83-
<!-- <test-it.sonarqube.version>${sonarqube.version}</test-it.sonarqube.version>-->
84-
89+
<!-- <test-it.sonarqube.version>9.9.0.65466</test-it.sonarqube.version>-->
8590
<!-- <test-it.sonarqube.version>9.9.8.100196</test-it.sonarqube.version>-->
8691
<!-- <test-it.sonarqube.version>10.1.0.73245</test-it.sonarqube.version>-->
8792
<!-- <test-it.sonarqube.version>10.1.0.73491</test-it.sonarqube.version>-->
88-
<!-- avant : OK -->
89-
9093
<!-- <test-it.sonarqube.version>10.2.0.77647</test-it.sonarqube.version>-->
9194
<!-- <test-it.sonarqube.version>10.7.0.96327</test-it.sonarqube.version>-->
9295
<!-- <test-it.sonarqube.version>24.12.0.100206</test-it.sonarqube.version>-->
93-
<!-- avant : OK metric "directories" -->
94-
9596
<!-- <test-it.sonarqube.version>25.1.0.102122</test-it.sonarqube.version>-->
9697
<!-- <test-it.sonarqube.version>25.2.0.102705</test-it.sonarqube.version>-->
97-
<test-it.sonarqube.version>25.3.0.104237</test-it.sonarqube.version>
98-
<!-- avant : OK autres metrics -->
98+
<!-- <test-it.sonarqube.version>25.3.0.104237</test-it.sonarqube.version>-->
99+
<!-- <test-it.sonarqube.version>25.4.0.105899</test-it.sonarqube.version>-->
100+
<test-it.sonarqube.version>25.5.0.107428</test-it.sonarqube.version>
99101

100102
<!-- Version of `sonar-java-plugin` used by integration tests (you can override this value to perform matrix compatibility tests) -->
101103
<test-it.sonarjava.version>${sonarjava.version}</test-it.sonarjava.version>
@@ -188,7 +190,7 @@
188190
<dependency>
189191
<groupId>org.sonarsource.orchestrator</groupId>
190192
<artifactId>sonar-orchestrator-junit5</artifactId>
191-
<version>5.1.0.2254</version>
193+
<version>5.6.1.2597</version>
192194
<scope>test</scope>
193195
</dependency>
194196
<dependency>
@@ -200,7 +202,7 @@
200202
<dependency>
201203
<groupId>org.sonarsource.sonarqube</groupId>
202204
<artifactId>sonar-ws</artifactId>
203-
<version>${sonarqube.version}</version>
205+
<version>${test-it.sonarqube.version}</version>
204206
<scope>test</scope>
205207
</dependency>
206208
<dependency>
@@ -263,7 +265,7 @@
263265
<pluginKey>creedengojava</pluginKey>
264266
<pluginClass>org.greencodeinitiative.creedengo.java.JavaPlugin</pluginClass>
265267
<sonarLintSupported>true</sonarLintSupported>
266-
<pluginApiMinVersion>${sonarqube.version}</pluginApiMinVersion>
268+
<pluginApiMinVersion>${sonarqube-plugin-api-min.version}</pluginApiMinVersion>
267269
<skipDependenciesPackaging>true</skipDependenciesPackaging>
268270
<jreMinVersion>${java.version}</jreMinVersion>
269271
<requiredForLanguages>java</requiredForLanguages>

0 commit comments

Comments
 (0)