Repository: hbase Updated Branches: refs/heads/branch-1.2 8c09370da -> b222a41c1
HBASE-18293 Only add the spotbugs dependency when jdk8 is active Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b222a41c Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b222a41c Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b222a41c Branch: refs/heads/branch-1.2 Commit: b222a41c1fa419a35a3657e8b23c5cee3bc334c8 Parents: 8c09370 Author: Chia-Ping Tsai <[email protected]> Authored: Thu Jun 29 13:16:40 2017 +0800 Committer: Chia-Ping Tsai <[email protected]> Committed: Tue Jul 4 14:08:08 2017 +0800 ---------------------------------------------------------------------- pom.xml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/b222a41c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4d946db..6b9e307 100644 --- a/pom.xml +++ b/pom.xml @@ -584,13 +584,6 @@ <xmlOutput>true</xmlOutput> <effort>Max</effort> </configuration> - <dependencies> - <dependency> - <groupId>com.github.spotbugs</groupId> - <artifactId>spotbugs</artifactId> - <version>${spotbugs.version}</version> - </dependency> - </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -1895,6 +1888,25 @@ <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>3.0.0</version> + <!--NOTE: Findbugs 3.0.0 requires jdk7--> + <configuration> + <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile> + <findbugsXmlOutput>true</findbugsXmlOutput> + <xmlOutput>true</xmlOutput> + <effort>Max</effort> + </configuration> + <dependencies> + <dependency> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs</artifactId> + <version>${spotbugs.version}</version> + </dependency> + </dependencies> + </plugin> </plugins> </pluginManagement> </build>
