Skip to content

Commit 9cbe304

Browse files
Issue #564: Migrate repo to jdk17
1 parent f2d393b commit 9cbe304

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/sonar-checkstyle-workflows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
max-parallel: 4
1515
matrix:
16-
java-version: ['11', '17']
16+
java-version: '17'
1717

1818
steps:
1919
- uses: actions/checkout@v4
@@ -31,10 +31,10 @@ jobs:
3131
# runs-on: ubuntu-latest
3232
# steps:
3333
# - uses: actions/checkout@v2
34-
# - name: Set up JDK 11
34+
# - name: Set up JDK 17
3535
# uses: actions/setup-java@v1
3636
# with:
37-
# java-version: 11
37+
# java-version: 17
3838
# - name: run integration tests
3939
# run: "./.ci/ci.sh integration-tests"
4040

@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
max-parallel: 4
4646
matrix:
47-
java-version: ['11', '17']
47+
java-version: '17'
4848

4949
steps:
5050
- uses: actions/checkout@v4

config/pmd.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<rule name="CheckstyleCustomShortVariable"
136136
message="Avoid variables with short names that shorter than 2 symbols: {0}"
137137
language="java"
138-
class="net.sourceforge.pmd.lang.rule.XPathRule"
138+
class="net.sourceforge.pmd.lang.rule.xpath.XPathRule"
139139
externalInfoUrl="">
140140
<description>
141141
Fields, local variables, or parameter names that are very short are not helpful to the reader.

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<checkstyle.sevntu.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${maven.sevntu.checkstyle.plugin.checkstyle.version}/config/checkstyle-sevntu-checks.xml</checkstyle.sevntu.configLocation>
107107
<checkstyle.sevntu.cache.file>${project.build.outputDirectory}/sevntu.cache</checkstyle.sevntu.cache.file>
108108
<maven.jacoco.plugin.version>0.8.10</maven.jacoco.plugin.version>
109-
<maven.compiler.release>11</maven.compiler.release>
109+
<maven.compiler.release>17</maven.compiler.release>
110110
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
111111
<!-- we disable ITs by default as it need download of 200MB sonar application jar -->
112112
<skipITs>true</skipITs>
@@ -445,7 +445,7 @@
445445
<plugin>
446446
<groupId>org.apache.maven.plugins</groupId>
447447
<artifactId>maven-pmd-plugin</artifactId>
448-
<version>3.13.0</version>
448+
<version>3.27.0</version>
449449
<configuration>
450450
<analysisCache>false</analysisCache>
451451
<targetJdk>${maven.compiler.release}</targetJdk>
@@ -470,22 +470,22 @@
470470
<dependency>
471471
<groupId>net.sourceforge.pmd</groupId>
472472
<artifactId>pmd-java</artifactId>
473-
<version>6.6.0</version>
473+
<version>7.15.0</version>
474474
</dependency>
475475
<dependency>
476476
<groupId>net.sourceforge.pmd</groupId>
477477
<artifactId>pmd-core</artifactId>
478-
<version>6.6.0</version>
478+
<version>7.15.0</version>
479479
</dependency>
480480
<dependency>
481481
<groupId>net.sourceforge.pmd</groupId>
482482
<artifactId>pmd-javascript</artifactId>
483-
<version>6.6.0</version>
483+
<version>7.15.0</version>
484484
</dependency>
485485
<dependency>
486486
<groupId>net.sourceforge.pmd</groupId>
487487
<artifactId>pmd-jsp</artifactId>
488-
<version>6.6.0</version>
488+
<version>7.15.0</version>
489489
</dependency>
490490
</dependencies>
491491
</plugin>

0 commit comments

Comments
 (0)