Skip to content

Commit 9a06690

Browse files
AmitKumarDeoghoriaromani
authored andcommitted
Issue #1039: Migrate Project to jdk17
1 parent a802a53 commit 9a06690

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
parameters:
88
image-name:
99
type: string
10-
default: "cimg/openjdk:11.0.18"
10+
default: "cimg/openjdk:17.0.7"
1111
description: "docker image to use"
1212
command:
1313
description: "command to run"

.github/workflows/checks-no-exception-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424

2525
runs-on: ubuntu-latest
2626
steps:
27-
- name: Set up JDK 11
27+
- name: Set up JDK 17
2828
uses: actions/setup-java@v1
2929
with:
30-
java-version: 11
30+
java-version: 17
3131

3232
- name: Install groovy
3333
run: sudo apt install groovy

eclipsecs-sevntu-plugin/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
<properties>
2929
<eclipsecs.version>10.4.0-SNAPSHOT</eclipsecs.version>
3030
<!-- verify time version -->
31-
<checkstyle.version>10.17.0</checkstyle.version>
31+
<checkstyle.version>10.26.1</checkstyle.version>
3232
<checkstyle.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle-checks.xml</checkstyle.configLocation>
3333
<checkstyle.header>https://raw.githubusercontent.com/checkstyle/checkstyle/master/config/java.header</checkstyle.header>
3434
<checkstyle.regexp.header>https://raw.githubusercontent.com/checkstyle/checkstyle/master/config/java-regexp.header</checkstyle.regexp.header>
3535
<antrun.plugin.version>3.1.0</antrun.plugin.version>
36+
<checkstyle.java.version>17</checkstyle.java.version>
3637
</properties>
3738

3839
<dependencies>

sevntu-checks/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<properties>
1717
<project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
1818
<!-- It is compile dependency to checkstyle, this version has to be the same as eclipse-cs depends on -->
19-
<checkstyle.eclipse-cs.version>10.4</checkstyle.eclipse-cs.version>
19+
<checkstyle.eclipse-cs.version>10.26.1</checkstyle.eclipse-cs.version>
2020
<!-- verify time version -->
21-
<checkstyle.version>10.17.0</checkstyle.version>
21+
<checkstyle.version>10.26.1</checkstyle.version>
2222
<checkstyle.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle-checks.xml</checkstyle.configLocation>
2323
<checkstyle.nonMain.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle-non-main-files-checks.xml</checkstyle.nonMain.configLocation>
2424
<checkstyle.non-main-files-suppressions.file>config/checkstyle-non-main-files-suppressions.xml</checkstyle.non-main-files-suppressions.file>
@@ -29,7 +29,7 @@
2929
<maven.jacoco.plugin.version>0.8.7</maven.jacoco.plugin.version>
3030
<maven.pmd.plugin.version>3.21.0</maven.pmd.plugin.version>
3131
<pmd.version>6.50.0</pmd.version>
32-
<java.version>11</java.version>
32+
<java.version>17</java.version>
3333
<junit.version>5.8.0</junit.version>
3434
<assertj.version>3.24.2</assertj.version>
3535
<truth.version>1.1.2</truth.version>

sevntu-checkstyle-idea-extension/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<name>Sevntu Checkstyle Idea extension</name>
1818

1919
<properties>
20-
<java.version>11</java.version>
20+
<java.version>17</java.version>
2121
</properties>
2222

2323
<licenses>

sevntu-checkstyle-sonar-plugin/checkstyle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ checkstyle.header.file=https://raw.githubusercontent.com/checkstyle/checkstyle/m
44
checkstyle.regexp.header.file=https://raw.githubusercontent.com/checkstyle/checkstyle/master/config/java-regexp.header
55
checkstyle.importcontrol.file=import-control.xml
66
checkstyle.importcontroltest.file=import-control-test.xml
7+
checkstyle.java.version=17

sevntu-checkstyle-sonar-plugin/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626

2727
<properties>
2828
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29-
<checkstyle.version>10.17.0</checkstyle.version>
30-
<checkstyle.plugin.version>3.3.0</checkstyle.plugin.version>
29+
<checkstyle.version>10.26.1</checkstyle.version>
30+
<checkstyle.plugin.version>3.6.0</checkstyle.plugin.version>
3131
<sonar.version>7.9</sonar.version>
3232
<staxmate.version>2.0.1</staxmate.version>
33-
<java.version>11</java.version>
33+
<java.version>17</java.version>
3434
<junit.version>4.13.1</junit.version>
3535
</properties>
3636

0 commit comments

Comments
 (0)