Skip to content

Commit 0d17866

Browse files
committed
upgrade internal lib and check Sonar 25.9.0
1 parent 2b25fb9 commit 0d17866

File tree

4 files changed

+21
-32
lines changed

4 files changed

+21
-32
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
- [#103](https://github.com/green-code-initiative/creedengo-java/pull/103) GCI69 Java : calls to hasMoreElements() and nextElement() methods from java.util.Enumeration interface aren't flagged anymore when called in a for loop
1515
- [#110](https://github.com/green-code-initiative/creedengo-java/pull/110) GCI82 - remove false positives with reassignment using this and with passing a variable to a function it can be reassigned in
16-
- compatibility updates for SonarQube 25.5.0
16+
- compatibility updates for SonarQube 25.9.0
1717
- upgrade libraries versions
1818
- correction of technical problem with Integration tests (because of Maven format in technical answer to "sonar-orchestrator-junit5" library)
1919
- upgrade JDK from 11 to 17

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
ARG MAVEN_BUILDER=3-openjdk-17-slim
22

3+
#ARG SONARQUBE_VERSION=9.9.0-community
34
#ARG SONARQUBE_VERSION=24.12.0.100206-community
45
#ARG SONARQUBE_VERSION=25.1.0.102122-community
56
#ARG SONARQUBE_VERSION=25.2.0.102705-community
6-
ARG SONARQUBE_VERSION=25.3.0.104237-community
7+
#ARG SONARQUBE_VERSION=25.3.0.104237-community
8+
ARG SONARQUBE_VERSION=25.9.0.112764-community
79

810
FROM maven:${MAVEN_BUILDER} AS builder
911

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.5.0 | [17](https://docs.sonarsource.com/sonarqube/9.9/requirements/prerequisites-and-overview/#java) |
64+
| 2.+ | 9.9.0 LTS to 25.9.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: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -57,28 +57,20 @@
5757
<sonarqube-plugin-api-min.version>9.9.0.65466</sonarqube-plugin-api-min.version>
5858

5959
<!-- Version of the SonarQube APIs used by `creedengo-java-plugin` -->
60-
<sonar.plugin.api.version>11.4.0.2922</sonar.plugin.api.version>
60+
<sonar.plugin.api.version>13.0.0.3026</sonar.plugin.api.version>
6161

6262
<!-- Version of `sonar-java-plugin` that `creedengo-java-plugin` depends on -->
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>-->
63+
<!-- LAST version compatible with SonarQube 9.9.0 AND 25.9.0 -->
64+
<sonarjava.version>8.9.3.40165</sonarjava.version>
65+
<!-- LAST version compatible with SonarQube 25.9.0 but NOT with 9.9.0 -->
66+
<!-- <sonarjava.version>8.18.0.40025</sonarjava.version>-->
6767

68-
<sonar-analyzer-commons.version>2.17.0.3322</sonar-analyzer-commons.version>
68+
<sonar-analyzer-commons.version>2.18.0.3393</sonar-analyzer-commons.version>
6969

7070
<sonar-packaging.version>1.23.0.740</sonar-packaging.version>
7171

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>
77-
78-
<google.re2j>1.8</google.re2j>
79-
8072
<!-- Version of creedengo rules specifications implemented by this plugin -->
81-
<creedengo-rules-specifications.version>2.2.2</creedengo-rules-specifications.version>
73+
<creedengo-rules-specifications.version>2.5.0</creedengo-rules-specifications.version>
8274

8375
<!-- URL of the Maven repository where sonarqube will be downloaded -->
8476
<test-it.orchestrator.artifactory.url>https://repo1.maven.org/maven2</test-it.orchestrator.artifactory.url>
@@ -97,7 +89,8 @@
9789
<!-- <test-it.sonarqube.version>25.2.0.102705</test-it.sonarqube.version>-->
9890
<!-- <test-it.sonarqube.version>25.3.0.104237</test-it.sonarqube.version>-->
9991
<!-- <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>
92+
<!-- <test-it.sonarqube.version>25.5.0.107428</test-it.sonarqube.version>-->
93+
<test-it.sonarqube.version>25.9.0.112764</test-it.sonarqube.version>
10194

10295
<!-- Version of `sonar-java-plugin` used by integration tests (you can override this value to perform matrix compatibility tests) -->
10396
<test-it.sonarjava.version>${sonarjava.version}</test-it.sonarjava.version>
@@ -139,7 +132,7 @@
139132
<dependency>
140133
<groupId>com.google.re2j</groupId>
141134
<artifactId>re2j</artifactId>
142-
<version>${google.re2j}</version>
135+
<version>1.8</version>
143136
</dependency>
144137

145138
<dependency>
@@ -161,21 +154,21 @@
161154
<dependency>
162155
<groupId>org.junit.jupiter</groupId>
163156
<artifactId>junit-jupiter</artifactId>
164-
<version>${junit.jupiter.version}</version>
157+
<version>5.13.4</version>
165158
<scope>test</scope>
166159
</dependency>
167160

168161
<dependency>
169162
<groupId>org.assertj</groupId>
170163
<artifactId>assertj-core</artifactId>
171-
<version>${assertJ.version}</version>
164+
<version>3.27.4</version>
172165
<scope>test</scope>
173166
</dependency>
174167

175168
<dependency>
176169
<groupId>org.mockito</groupId>
177170
<artifactId>mockito-junit-jupiter</artifactId>
178-
<version>${mockito.version}</version>
171+
<version>5.19.0</version>
179172
<scope>test</scope>
180173
</dependency>
181174

@@ -190,13 +183,7 @@
190183
<dependency>
191184
<groupId>org.sonarsource.orchestrator</groupId>
192185
<artifactId>sonar-orchestrator-junit5</artifactId>
193-
<version>5.6.1.2597</version>
194-
<scope>test</scope>
195-
</dependency>
196-
<dependency>
197-
<groupId>org.sonarsource.java</groupId>
198-
<artifactId>test-classpath-reader</artifactId>
199-
<version>8.8.0.37665</version>
186+
<version>5.6.2.2625</version>
200187
<scope>test</scope>
201188
</dependency>
202189
<dependency>
@@ -214,13 +201,13 @@
214201
<dependency>
215202
<groupId>ch.qos.logback</groupId>
216203
<artifactId>logback-classic</artifactId>
217-
<version>1.5.6</version>
204+
<version>1.5.18</version>
218205
<scope>test</scope>
219206
</dependency>
220207
<dependency>
221208
<groupId>org.projectlombok</groupId>
222209
<artifactId>lombok</artifactId>
223-
<version>1.18.36</version>
210+
<version>1.18.40</version>
224211
<scope>test</scope>
225212
</dependency>
226213
</dependencies>

0 commit comments

Comments
 (0)