HBASE-15801 Upgrade checkstyle for all branches

This commit is contained in:
zhangduo 2016-05-09 14:42:27 +08:00
parent 2f282aca15
commit 690b44d29a
1 changed files with 13 additions and 2 deletions

15
pom.xml
View File

@ -769,13 +769,18 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>2.13</version> <version>2.17</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.hbase</groupId> <groupId>org.apache.hbase</groupId>
<artifactId>hbase-checkstyle</artifactId> <artifactId>hbase-checkstyle</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies> </dependencies>
<configuration> <configuration>
<configLocation>hbase/checkstyle.xml</configLocation> <configLocation>hbase/checkstyle.xml</configLocation>
@ -891,6 +896,11 @@
<artifactId>hbase-checkstyle</artifactId> <artifactId>hbase-checkstyle</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies> </dependencies>
<configuration> <configuration>
<configLocation>hbase/checkstyle.xml</configLocation> <configLocation>hbase/checkstyle.xml</configLocation>
@ -1166,6 +1176,7 @@
<maven.antrun.version>1.6</maven.antrun.version> <maven.antrun.version>1.6</maven.antrun.version>
<jamon.plugin.version>2.4.1</jamon.plugin.version> <jamon.plugin.version>2.4.1</jamon.plugin.version>
<findbugs-annotations>1.3.9-1</findbugs-annotations> <findbugs-annotations>1.3.9-1</findbugs-annotations>
<checkstyle.version>6.18</checkstyle.version>
<javadoc.version>2.10.3</javadoc.version> <javadoc.version>2.10.3</javadoc.version>
<asciidoctor.plugin.version>1.5.2.1</asciidoctor.plugin.version> <asciidoctor.plugin.version>1.5.2.1</asciidoctor.plugin.version>
<!-- General Packaging --> <!-- General Packaging -->
@ -2525,7 +2536,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>2.13</version> <version>2.17</version>
<configuration> <configuration>
<configLocation>hbase/checkstyle.xml</configLocation> <configLocation>hbase/checkstyle.xml</configLocation>
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation> <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>