[jboss-cvs] JBossAS SVN: r94366 - in projects/kernel/trunk: dependency/src/main/resources/findbugs and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 5 08:58:28 EDT 2009
Author: kabir.khan at jboss.com
Date: 2009-10-05 08:58:28 -0400 (Mon, 05 Oct 2009)
New Revision: 94366
Modified:
projects/kernel/trunk/dependency/src/main/resources/findbugs/exclude.xml
projects/kernel/trunk/pom.xml
Log:
Add plugin + some more excludes
Modified: projects/kernel/trunk/dependency/src/main/resources/findbugs/exclude.xml
===================================================================
--- projects/kernel/trunk/dependency/src/main/resources/findbugs/exclude.xml 2009-10-05 12:55:37 UTC (rev 94365)
+++ projects/kernel/trunk/dependency/src/main/resources/findbugs/exclude.xml 2009-10-05 12:58:28 UTC (rev 94366)
@@ -10,6 +10,11 @@
<Field name="underlyingController"/>
<Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
</Match>
+ <!-- Ignore redundant interface -->
+ <Match>
+ <Class name="org.jboss.dependency.plugins.helpers.StatelessController"/>
+ <Bug pattern="RI_REDUNDANT_INTERFACES"/>
+ </Match>
<!-- Ignore dead local variable storage in the tests -->
<Match>
<Class name="~org\.jboss\.test\.dependency\.controller\.test.*"/>
Modified: projects/kernel/trunk/pom.xml
===================================================================
--- projects/kernel/trunk/pom.xml 2009-10-05 12:55:37 UTC (rev 94365)
+++ projects/kernel/trunk/pom.xml 2009-10-05 12:58:28 UTC (rev 94366)
@@ -134,6 +134,16 @@
</includes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.0.1</version>
+ <configuration>
+ <!-- No way to get resource directory using properties http://jira.codehaus.org/browse/MNG-3638 -->
+ <excludeFilterFile>${project.build.sourceDirectory}/../resources/findbugs/exclude.xml</excludeFilterFile>
+ <debug>true</debug>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -368,11 +378,6 @@
</reportSet>
</reportSets>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>1.0.0</version>
- </plugin>
</plugins>
</reporting>
More information about the jboss-cvs-commits
mailing list