Yair Zaslavsky has uploaded a new change for review.

Change subject: core: Introducing findbugs filter to bll module
......................................................................

core: Introducing findbugs filter to bll module

Introducing findbugs to bll module.
In order to generate findbugs report use
"mvn site" and look for findbugs.xml at the target/site
directory (this may take several minutes)

Change-Id: I26b9cafc1832022693a7386277972a7e48a53f0d
Signed-off-by: Yair Zaslavsky <[email protected]>
---
A backend/manager/modules/bll/exclude-filters.xml
M backend/manager/modules/bll/pom.xml
2 files changed, 28 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/10/14110/1

diff --git a/backend/manager/modules/bll/exclude-filters.xml 
b/backend/manager/modules/bll/exclude-filters.xml
new file mode 100644
index 0000000..78ffef0
--- /dev/null
+++ b/backend/manager/modules/bll/exclude-filters.xml
@@ -0,0 +1,13 @@
+<FindBugsFilter>
+     <Match>
+       <Class name="org.ovirt.engine.core.bll.RunVmCommandBase" />
+       <Method name="decreasePendingVms"/>
+       <Bug code="RV"/>
+     </Match>
+
+     <Match>
+       <Class name="org.ovirt.engine.core.bll.RunVmCommandBase" />
+       <Method name="delay"/>
+       <Bug code="RV"/>
+     </Match>
+</FindBugsFilter>
diff --git a/backend/manager/modules/bll/pom.xml 
b/backend/manager/modules/bll/pom.xml
index 20c92f5..1dc3fc5 100644
--- a/backend/manager/modules/bll/pom.xml
+++ b/backend/manager/modules/bll/pom.xml
@@ -206,4 +206,19 @@
         </plugin>
     </plugins>
   </build>
+      <reporting>
+        <plugins>
+         <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>findbugs-maven-plugin</artifactId>
+            <version>${findbugs.version}</version>
+            <configuration>
+              <xmlOutput>true</xmlOutput>
+              <!-- Optional derectory to put findbugs xdoc xml report -->
+              <excludeFilterFile>exclude-filters.xml</excludeFilterFile>
+              <xmlOutputDirectory>target/site</xmlOutputDirectory>
+            </configuration>
+         </plugin>
+       </plugins>
+      </reporting>
 </project>


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26b9cafc1832022693a7386277972a7e48a53f0d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to