Skip to content

Commit b7ba05a

Browse files
committed
Bump maven-checkstyle-plugin from 2.17 to 3.1.2.
1 parent f2d0d91 commit b7ba05a

3 files changed

Lines changed: 14 additions & 5 deletions

File tree

pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ limitations under the License.
257257
<commons.encoding>UTF-8</commons.encoding>
258258
<checkstyle.header.file>${basedir}/src/conf/checkstyle-header.txt</checkstyle.header.file>
259259
<checkstyle.config.file>${basedir}/src/conf/checkstyle.xml</checkstyle.config.file>
260-
<checkstyle.version>2.17</checkstyle.version>
260+
<commons.checkstyle-plugin.version>3.1.2</commons.checkstyle-plugin.version>
261+
<commons.checkstyle.version>8.45.1</commons.checkstyle.version>
261262
<commons.japicmp.version>0.15.3</commons.japicmp.version>
262263
<commons.jacoco.version>0.8.7</commons.jacoco.version>
263264
<commons.javadoc.version>3.3.0</commons.javadoc.version>
@@ -294,7 +295,14 @@ limitations under the License.
294295
<plugin>
295296
<groupId>org.apache.maven.plugins</groupId>
296297
<artifactId>maven-checkstyle-plugin</artifactId>
297-
<version>${checkstyle.version}</version>
298+
<version>${commons.checkstyle-plugin.version}</version>
299+
<dependencies>
300+
<dependency>
301+
<groupId>com.puppycrawl.tools</groupId>
302+
<artifactId>checkstyle</artifactId>
303+
<version>${commons.checkstyle.version}</version>
304+
</dependency>
305+
</dependencies>
298306
<configuration>
299307
<configLocation>${checkstyle.config.file}</configLocation>
300308
<enableRulesSummary>false</enableRulesSummary>

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ The <action> type attribute can be add,update,fix,remove.
6363
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump maven-javadoc-plugin from 3.2.0 to 3.3.0.</action>
6464
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump animal-sniffer-maven-plugin from 1.19 to 1.20.</action>
6565
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump maven-pmd-plugin from 3.13.0 to 3.14.0.</action>
66+
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump maven-checkstyle-plugin from 2.17 to 3.1.2.</action>
6667
</release>
6768

6869
<release version="1.15" date="2020-09-01" description="Feature and fix release.">

src/conf/checkstyle.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ limitations under the License.
6060
</module>
6161

6262
<module name="TreeWalker">
63-
<property name="cacheFile" value="target/cachefile" />
6463
<module name="OperatorWrap">
6564
<property name="option" value="eol" />
6665
</module>
67-
<module name="LineLength">
66+
</module>
67+
68+
<module name="LineLength">
6869
<!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
6970
<property name="ignorePattern" value="^ *\* *[^ ]"/>
7071
<property name="max" value="120"/>
71-
</module>
7272
</module>
7373

7474
</module>

0 commit comments

Comments
 (0)