Skip to content

Commit d29f314

Browse files
committed
correction technical Integration tests + update all version libraries
1 parent 8bb5480 commit d29f314

File tree

3 files changed

+31
-24
lines changed

3 files changed

+31
-24
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.0.1] - 2025-03-14

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Ready to use binaries are available [from GitHub](https://github.com/green-code-
6565
|----------------|---------------------|--------------|
6666
| 1.4.+ | 9.4.+ LTS to 10.4.1 | 11 / 17 |
6767
| 1.5.+ | 9.9.+ LTS to 10.7.0 | 11 / 17 |
68-
| 2.0.+ | 9.9.+ LTS to 25.3.0 | 11 / 17 |
68+
| 2.0.+ | 9.9.+ LTS to 25.5.0 | 11 / 17 |
6969

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

pom.xml

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,24 @@
4949
<sonar.organization>green-code-initiative</sonar.organization>
5050
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5151

52-
<!-- Version of SonarQube for integration tests -->
53-
<sonarqube.version>9.4.0.54424</sonarqube.version>
54-
<!-- <sonarqube.version>9.9.7.96285</sonarqube.version>-->
52+
<!-- Minimal version of the SonarQube APIs for `creedengo-python-plugin` -->
53+
<sonarqube-plugin-api-min.version>9.9.0.65466</sonarqube-plugin-api-min.version>
54+
5555
<!-- Version of the SonarQube APIs used by `creedengo-java-plugin` -->
56-
<sonar.plugin.api.version>9.8.0.203</sonar.plugin.api.version>
56+
<sonar.plugin.api.version>11.4.0.2922</sonar.plugin.api.version>
5757

58-
<sonar-analyzer-commons.version>2.16.0.3141</sonar-analyzer-commons.version>
58+
<sonar-analyzer-commons.version>2.17.0.3322</sonar-analyzer-commons.version>
5959

60+
<!-- last version that all is OK -->
6061
<sonarpython.version>4.6.0.12071</sonarpython.version>
61-
<!-- version with compatibility problem with mockito (even if last version of Mockito) -->
62-
<!-- <sonarpython.version>4.7.0.12181</sonarpython.version>-->
63-
<!-- version with compatibility problem : classes not found -->
64-
<!-- <sonarpython.version>4.22.0.16914</sonarpython.version>-->
62+
<!-- NOT OK : version with compatibility problem with mockito (even if last version of Mockito) -->
63+
<!-- <sonarpython.version>4.7.0.12181</sonarpython.version>-->
64+
<!-- <sonarpython.version>4.21.0.16473</sonarpython.version>-->
65+
<!-- NOT OK : version with compatibility problem : classes not found -->
66+
<!-- <sonarpython.version>4.22.0.16914</sonarpython.version>-->
67+
<!-- <sonarpython.version>5.4.0.22255</sonarpython.version>-->
6568

66-
<mockito.version>5.16.1</mockito.version>
69+
<mockito.version>5.17.0</mockito.version>
6770

6871
<!-- temporary version waiting for a real automatic release in creedengo repository -->
6972
<creedengo-rules-specifications.version>2.2.2</creedengo-rules-specifications.version>
@@ -74,8 +77,7 @@
7477
<test-it.sonarqube.keepRunning>false</test-it.sonarqube.keepRunning>
7578

7679
<!-- Version of `sonarqube` used by integration tests (you can override this value to perform matrix compatibility tests) -->
77-
<test-it.sonarqube.version>25.3.0.104237</test-it.sonarqube.version>
78-
<!-- avant : OK autres metrics -->
80+
<test-it.sonarqube.version>25.5.0.107428</test-it.sonarqube.version>
7981

8082
<!-- Version of `sonar-python-plugin` used by integration tests (you can override this value to perform matrix compatibility tests) -->
8183
<test-it.sonarpython.version>${sonarpython.version}</test-it.sonarpython.version>
@@ -149,19 +151,20 @@
149151
<dependency>
150152
<groupId>org.sonarsource.orchestrator</groupId>
151153
<artifactId>sonar-orchestrator-junit5</artifactId>
152-
<version>5.1.0.2254</version>
154+
<version>5.6.1.2597</version>
153155
<scope>test</scope>
154156
</dependency>
155157
<dependency>
156158
<groupId>org.sonarsource.java</groupId>
157159
<artifactId>test-classpath-reader</artifactId>
158-
<version>8.8.0.37665</version>
160+
<version>8.13.0.38826</version>
159161
<scope>test</scope>
160162
</dependency>
161163
<dependency>
162164
<groupId>org.sonarsource.sonarqube</groupId>
163165
<artifactId>sonar-ws</artifactId>
164-
<version>${sonarqube.version}</version>
166+
<version>${sonarqube-plugin-api-min.version}</version>
167+
<!-- <version>${test-it.sonarqube.version}</version>-->
165168
<scope>test</scope>
166169
</dependency>
167170
<dependency>
@@ -173,7 +176,7 @@
173176
<dependency>
174177
<groupId>org.projectlombok</groupId>
175178
<artifactId>lombok</artifactId>
176-
<version>1.18.36</version>
179+
<version>1.18.38</version>
177180
<scope>test</scope>
178181
</dependency>
179182

@@ -190,7 +193,7 @@
190193
<plugin>
191194
<groupId>org.apache.maven.plugins</groupId>
192195
<artifactId>maven-surefire-plugin</artifactId>
193-
<version>3.5.2</version>
196+
<version>3.5.3</version>
194197
</plugin>
195198
<plugin>
196199
<groupId>org.apache.maven.plugins</groupId>
@@ -200,17 +203,17 @@
200203
<plugin>
201204
<groupId>org.apache.maven.plugins</groupId>
202205
<artifactId>maven-install-plugin</artifactId>
203-
<version>3.1.3</version>
206+
<version>3.1.4</version>
204207
</plugin>
205208
<plugin>
206209
<groupId>org.apache.maven.plugins</groupId>
207210
<artifactId>maven-deploy-plugin</artifactId>
208-
<version>3.1.3</version>
211+
<version>3.1.4</version>
209212
</plugin>
210213
<plugin>
211214
<groupId>org.jacoco</groupId>
212215
<artifactId>jacoco-maven-plugin</artifactId>
213-
<version>0.8.12</version>
216+
<version>0.8.13</version>
214217
<executions>
215218
<execution>
216219
<id>prepare-agent</id>
@@ -235,7 +238,7 @@
235238
<pluginKey>creedengopython</pluginKey>
236239
<pluginClass>org.greencodeinitiative.creedengo.python.PythonPlugin</pluginClass>
237240
<sonarLintSupported>true</sonarLintSupported>
238-
<pluginApiMinVersion>${sonarqube.version}</pluginApiMinVersion>
241+
<pluginApiMinVersion>${sonarqube-plugin-api-min.version}</pluginApiMinVersion>
239242
<skipDependenciesPackaging>true</skipDependenciesPackaging>
240243
<jreMinVersion>${java.version}</jreMinVersion>
241244
<requiredForLanguages>py</requiredForLanguages>
@@ -312,7 +315,7 @@
312315
<plugin>
313316
<groupId>com.mycila</groupId>
314317
<artifactId>license-maven-plugin</artifactId>
315-
<version>4.6</version>
318+
<version>5.0.0</version>
316319
<configuration>
317320
<properties>
318321
<owner>Green Code Initiative</owner>
@@ -380,7 +383,7 @@
380383
<!-- Execute integration tests -->
381384
<groupId>org.apache.maven.plugins</groupId>
382385
<artifactId>maven-failsafe-plugin</artifactId>
383-
<version>3.5.2</version>
386+
<version>3.5.3</version>
384387
<executions>
385388
<execution>
386389
<goals>

0 commit comments

Comments
 (0)