HADOOP-16771. Update checkstyle to 8.26 and maven-checkstyle-plugin to 3.1.0. Contributed by Andras Bokor.

This commit is contained in:
Akira Ajisaka 2019-12-20 13:10:04 +09:00
parent 12722ab0c7
commit f777cd398f
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
3 changed files with 10 additions and 7 deletions

View File

@ -67,6 +67,10 @@
<!--<module name="FileLength">--> <!--<module name="FileLength">-->
<module name="FileTabCharacter"/> <module name="FileTabCharacter"/>
<!-- Checks for line length violations. -->
<!-- See https://checkstyle.sourceforge.io/config_sizes.html#LineLength -->
<module name="LineLength"/>
<module name="TreeWalker"> <module name="TreeWalker">
<module name="SuppressWarningsHolder"/> <module name="SuppressWarningsHolder"/>
@ -122,7 +126,6 @@
<!-- Checks for Size Violations. --> <!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html --> <!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="LineLength"/>
<module name="MethodLength"/> <module name="MethodLength"/>
<module name="ParameterNumber"> <module name="ParameterNumber">
<property name="ignoreOverriddenMethods" value="true"/> <property name="ignoreOverriddenMethods" value="true"/>

View File

@ -62,6 +62,10 @@
<property name="eachLine" value="true"/> <property name="eachLine" value="true"/>
</module> </module>
<module name="LineLength">
<property name="max" value="160" />
</module>
<module name="TreeWalker"> <module name="TreeWalker">
<!-- Checks for Javadoc comments. --> <!-- Checks for Javadoc comments. -->
@ -101,10 +105,6 @@
<!-- Checks for Size Violations. --> <!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html --> <!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="LineLength">
<property name="max" value="160" />
</module>
<module name="MethodLength"> <module name="MethodLength">
<property name="max" value="3000"/> <property name="max" value="3000"/>
</module> </module>

View File

@ -110,8 +110,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
<maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version> <maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version>
<maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version> <maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version> <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version> <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version>
<checkstyle.version>8.19</checkstyle.version> <checkstyle.version>8.26</checkstyle.version>
<dependency-check-maven.version>1.4.3</dependency-check-maven.version> <dependency-check-maven.version>1.4.3</dependency-check-maven.version>
<shell-executable>bash</shell-executable> <shell-executable>bash</shell-executable>