Skip to content

Commit 35a2e8d

Browse files
committed
Use Checkstyle 10.x on Java 11-16, Checkstyle 11.x requires Java 17
1 parent 5da3e43 commit 35a2e8d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,12 +1777,13 @@
17771777
</properties>
17781778
</profile>
17791779
<profile>
1780-
<!-- Java 11 and up -->
1781-
<id>java-11-up</id>
1780+
<!-- Java 11-16 -->
1781+
<id>java-11-16</id>
17821782
<activation>
1783-
<jdk>[11,)</jdk>
1783+
<jdk>[11,16]</jdk>
17841784
</activation>
17851785
<properties>
1786+
<commons.checkstyle.version>10.26.1</commons.checkstyle.version>
17861787
</properties>
17871788
</profile>
17881789
<profile>

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ The <action> type attribute can be add,update,fix,remove.
5959
<body>
6060
<release version="87" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
6161
<!-- FIX -->
62+
<action type="fix" dev="ggregory" due-to="Gary Gregory">Use Checkstyle 10.x on Java 11-16, Checkstyle 11.x requires Java 17.</action>
6263
<!-- ADD -->
6364
<!-- UPDATE -->
6465
</release>

0 commit comments

Comments
 (0)