You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by bp...@apache.org on 2021/12/15 10:08:14 UTC

[ranger] branch master updated: RANGER-3546:Update Spotbugs plugin Executions cycle

This is an automated email from the ASF dual-hosted git repository.

bpatel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f3806f  RANGER-3546:Update Spotbugs plugin Executions cycle
4f3806f is described below

commit 4f3806f3cd955eb91d141cf36df58410fa6cdb35
Author: Bhavik Patel <bh...@gmail.com>
AuthorDate: Fri Dec 10 15:58:09 2021 +0530

    RANGER-3546:Update Spotbugs plugin Executions cycle
---
 dev-support/spotbugsIncludeFile.xml | 2 ++
 pom.xml                             | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/dev-support/spotbugsIncludeFile.xml b/dev-support/spotbugsIncludeFile.xml
index f762453..3621e8c 100644
--- a/dev-support/spotbugsIncludeFile.xml
+++ b/dev-support/spotbugsIncludeFile.xml
@@ -43,6 +43,8 @@
         <Bug pattern="DM_BOXED_PRIMITIVE_TOSTRING" />
         <Bug pattern="NP_NULL_PARAM_DEREF" />
         <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
+        <Bug pattern="IL_INFINITE_RECURSIVE_LOOP" />
+        <Bug pattern="DMI_RANDOM_USED_ONLY_ONCE" />
       </Or>
     </Not>
   </Match>
diff --git a/pom.xml b/pom.xml
index 76cac7d..18f47f9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1074,6 +1074,13 @@
                 <configuration>
                     <includeFilterFile>./dev-support/spotbugsIncludeFile.xml</includeFilterFile>
                 </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>
 
             <plugin>