Repository: hbase Updated Branches: refs/heads/0.98 5285b15bf -> 2c9fe0753
HBASE-15801 Upgrade checkstyle for all branches Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2c9fe075 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2c9fe075 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2c9fe075 Branch: refs/heads/0.98 Commit: 2c9fe075368ea219b83348e24b7578ad77c52fd4 Parents: 5285b15 Author: zhangduo <zhang...@apache.org> Authored: Mon May 9 14:42:27 2016 +0800 Committer: zhangduo <zhang...@apache.org> Committed: Mon May 9 15:42:35 2016 +0800 ---------------------------------------------------------------------- pom.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/2c9fe075/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 965d979..38a73c7 100644 --- a/pom.xml +++ b/pom.xml @@ -768,13 +768,18 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.13</version> + <version>2.17</version> <dependencies> <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-checkstyle</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>${checkstyle.version}</version> + </dependency> </dependencies> <configuration> <configLocation>hbase/checkstyle.xml</configLocation> @@ -889,6 +894,11 @@ <artifactId>hbase-checkstyle</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>${checkstyle.version}</version> + </dependency> </dependencies> <configuration> <configLocation>hbase/checkstyle.xml</configLocation> @@ -1110,6 +1120,7 @@ <findbugs-maven-plugin.version>2.5.2</findbugs-maven-plugin.version> <findbugs-annotations>1.3.9-1</findbugs-annotations> <maven.site.version>3.3</maven.site.version> + <checkstyle.version>6.18</checkstyle.version> <javadoc.version>2.9</javadoc.version> <maven.resources.plugin.version>2.6</maven.resources.plugin.version> <asciidoctor.plugin.version>1.5.2.1</asciidoctor.plugin.version> @@ -2270,7 +2281,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.13</version> + <version>2.17</version> <configuration> <configLocation>hbase/checkstyle.xml</configLocation> <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>