You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2015/04/08 18:41:34 UTC
incubator-ranger git commit: RANGER-209: added findbugs filter
Repository: incubator-ranger
Updated Branches:
refs/heads/master 35a6454bf -> 785fe3d4c
RANGER-209: added findbugs filter
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/785fe3d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/785fe3d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/785fe3d4
Branch: refs/heads/master
Commit: 785fe3d4c7e2de2350693b0c170b91df48071fc7
Parents: 35a6454
Author: sneethiraj <sn...@apache.org>
Authored: Wed Apr 8 12:14:43 2015 -0400
Committer: sneethiraj <sn...@apache.org>
Committed: Wed Apr 8 12:14:43 2015 -0400
----------------------------------------------------------------------
dev-support/findbugsIncludeFile.xml | 25 +++++++++++++++++++++++++
pom.xml | 5 +----
2 files changed, 26 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/785fe3d4/dev-support/findbugsIncludeFile.xml
----------------------------------------------------------------------
diff --git a/dev-support/findbugsIncludeFile.xml b/dev-support/findbugsIncludeFile.xml
new file mode 100644
index 0000000..8623906
--- /dev/null
+++ b/dev-support/findbugsIncludeFile.xml
@@ -0,0 +1,25 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<FindBugsFilter>
+ <!--
+ For now, lets find only critical bugs from static code analyzer
+ -->
+ <Match>
+ <Bug Rank="1" />
+ </Match>
+
+</FindBugsFilter>
http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/785fe3d4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d32fd09..f204876 100644
--- a/pom.xml
+++ b/pom.xml
@@ -506,12 +506,9 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.plugin.version}</version>
-<!--
<configuration>
- <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml
- </excludeFilterFile>
+ <includeFilterFile>./dev-support/findbugsIncludeFile.xml</includeFilterFile>
</configuration>
--->
</plugin>
</plugins>
</build>