Ohad Basan has uploaded a new change for review.

Change subject: packaging: add find security bugs to pom.xml
......................................................................

packaging: add find security bugs to pom.xml

this pom change enables the use of find security bugs
http://h3xstream.github.io/find-sec-bugs/tutorials.htm
the purpose is to use this plugin in addition to the regular findbugs
job in jenkins

Change-Id: I6af60c1a080fcfc40a9b4ac82dbf4e857eca61ac
Signed-off-by: Ohad Basan <oba...@redhat.com>
---
A findbugs-security-exclude.xml
A findbugs-security-include.xml
M pom.xml
3 files changed, 20 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/21828/1

diff --git a/findbugs-security-exclude.xml b/findbugs-security-exclude.xml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/findbugs-security-exclude.xml
diff --git a/findbugs-security-include.xml b/findbugs-security-include.xml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/findbugs-security-include.xml
diff --git a/pom.xml b/pom.xml
index adfb6e9..bfea0b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -578,6 +578,26 @@
             </ignores>
           </configuration>
         </plugin>
+        <!-- FindBugs Static Analysis -->
+        <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>findbugs-maven-plugin</artifactId>
+            <version>2.5.2</version>
+            <configuration>
+                <effort>Max</effort>
+                <threshold>Low</threshold>
+                <failOnError>true</failOnError>
+                
<includeFilterFile>${session.executionRootDirectory}/findbugs-security-include.xml</includeFilterFile>
+                
<excludeFilterFile>${session.executionRootDirectory}/findbugs-security-exclude.xml</excludeFilterFile>
+                <plugins>
+                    <plugin>
+                        <groupId>com.h3xstream.findsecbugs</groupId>
+                        <artifactId>plugin</artifactId>
+                        <version>1.1.0</version>
+                    </plugin>
+                </plugins>
+            </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <resources>


-- 
To view, visit http://gerrit.ovirt.org/21828
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6af60c1a080fcfc40a9b4ac82dbf4e857eca61ac
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ohad Basan <oba...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to