Shahar Havivi has uploaded a new change for review.

Change subject: findbugs: ignore: Call to static DateFormat
......................................................................

findbugs: ignore: Call to static DateFormat

Change-Id: Ia5b73279230455d7b4ddeb57f97e36cf420abe38
Signed-off-by: Shahar Havivi <[email protected]>
---
A backend/manager/modules/dal/exclude-filters.xml
M backend/manager/modules/dal/pom.xml
2 files changed, 30 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/14686/1

diff --git a/backend/manager/modules/dal/exclude-filters.xml 
b/backend/manager/modules/dal/exclude-filters.xml
new file mode 100644
index 0000000..76522af
--- /dev/null
+++ b/backend/manager/modules/dal/exclude-filters.xml
@@ -0,0 +1,19 @@
+<FindBugsFilter>
+     <Match>
+       <Class name="org.ovirt.engine.core.dao.AuditLogDAOTest" />
+       <Method name="setUp"/>
+       <Bug code="STCAL"/>
+     </Match>
+
+     <Match>
+       <Class name="org.ovirt.engine.core.dao.AuditLogDAOTest" />
+       <Method name="testGetAllAfterDate"/>
+       <Bug code="STCAL"/>
+     </Match>
+
+     <Match>
+       <Class name="org.ovirt.engine.core.dao.AuditLogDAOTest" />
+       <Method name="testRemoveAllBeforeDate"/>
+       <Bug code="STCAL"/>
+     </Match>
+</FindBugsFilter>
diff --git a/backend/manager/modules/dal/pom.xml 
b/backend/manager/modules/dal/pom.xml
index 7c951d7..35ba399 100644
--- a/backend/manager/modules/dal/pom.xml
+++ b/backend/manager/modules/dal/pom.xml
@@ -202,6 +202,17 @@
               <excludes/>
             </configuration>
           </plugin>
+          <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>
       </build>
     </profile>


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

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

Reply via email to