Skip to content

Commit 4c71cd7

Browse files
committed
ajout pour JDK11
1 parent d15d1ce commit 4c71cd7

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
ARG MAVEN_BUILDER=3-openjdk-17-slim
1+
#ARG MAVEN_BUILDER=3-openjdk-17-slim
22

33
#ARG SONARQUBE_VERSION=24.12.0.100206-community
44
#ARG SONARQUBE_VERSION=25.1.0.102122-community
55
#ARG SONARQUBE_VERSION=25.2.0.102705-community
6-
ARG SONARQUBE_VERSION=25.3.0.104237-community
6+
#ARG SONARQUBE_VERSION=25.3.0.104237-community
7+
8+
ARG MAVEN_BUILDER=3-openjdk-11-slim
9+
ARG SONARQUBE_VERSION=9.9.8-community
710

811
FROM maven:${MAVEN_BUILDER} AS builder
912

pom.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<properties>
4242

43-
<java.version>17</java.version>
43+
<java.version>11</java.version>
4444
<maven.compiler.source>${java.version}</maven.compiler.source>
4545
<maven.compiler.target>${java.version}</maven.compiler.target>
4646
<!-- to prevent message: system modules path not set in conjunction with -source 11 -->
@@ -57,16 +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>9.5.0.71</sonar.plugin.api.version>-->
6061
<sonar.plugin.api.version>11.4.0.2922</sonar.plugin.api.version>
6162

6263
<!-- 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>
64+
<!-- max version that all is OK with JDK 11 -->
65+
<sonarjava.version>7.30.0.34429</sonarjava.version>
66+
<!-- max version that all is OK with JDK 17 -->
67+
<!-- <sonarjava.version>8.9.1.38281</sonarjava.version>-->
6568
<!-- next version is NOT OK -->
6669
<!-- <sonarjava.version>8.13.0.38826</sonarjava.version>-->
6770

6871
<sonar-analyzer-commons.version>2.17.0.3322</sonar-analyzer-commons.version>
6972

73+
<!-- <sonar-packaging.version>1.21.0.505</sonar-packaging.version>-->
7074
<sonar-packaging.version>1.23.0.740</sonar-packaging.version>
7175

7276
<junit.jupiter.version>5.12.2</junit.jupiter.version>
@@ -87,7 +91,7 @@
8791

8892
<!-- Version of `sonarqube` used by integration tests (you can override this value to perform matrix compatibility tests) -->
8993
<!-- <test-it.sonarqube.version>9.9.0.65466</test-it.sonarqube.version>-->
90-
<!-- <test-it.sonarqube.version>9.9.8.100196</test-it.sonarqube.version>-->
94+
<test-it.sonarqube.version>9.9.8.100196</test-it.sonarqube.version>
9195
<!-- <test-it.sonarqube.version>10.1.0.73245</test-it.sonarqube.version>-->
9296
<!-- <test-it.sonarqube.version>10.1.0.73491</test-it.sonarqube.version>-->
9397
<!-- <test-it.sonarqube.version>10.2.0.77647</test-it.sonarqube.version>-->
@@ -97,7 +101,7 @@
97101
<!-- <test-it.sonarqube.version>25.2.0.102705</test-it.sonarqube.version>-->
98102
<!-- <test-it.sonarqube.version>25.3.0.104237</test-it.sonarqube.version>-->
99103
<!-- <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>
104+
<!-- <test-it.sonarqube.version>25.5.0.107428</test-it.sonarqube.version>-->
101105

102106
<!-- Version of `sonar-java-plugin` used by integration tests (you can override this value to perform matrix compatibility tests) -->
103107
<test-it.sonarjava.version>${sonarjava.version}</test-it.sonarjava.version>
@@ -404,7 +408,8 @@
404408
<plugin>
405409
<groupId>com.mycila</groupId>
406410
<artifactId>license-maven-plugin</artifactId>
407-
<version>4.6</version>
411+
<!-- <version>4.6</version>-->
412+
<version>3.0</version>
408413
<configuration>
409414
<properties>
410415
<owner>Green Code Initiative</owner>

0 commit comments

Comments
 (0)