[
http://jira.codehaus.org/browse/MFINDBUGS-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165559#action_165559
]
Garvin LeClaire commented on MFINDBUGS-74:
------------------------------------------
Please send me your configuration. There are 2 xml report formats you can get.
The one using the "xmlOutput" option is a legacy version that has been
available in all the Maven Plugins and earlier FindBugs. FindBugs has changed
over the versions.
The one using the "findbugsXmlOutput" is always what the wrapped version of
FindBugs is using. At this time it is FindBugs 1.3.7
> xml report output contains wrong category designations
> ------------------------------------------------------
>
> Key: MFINDBUGS-74
> URL: http://jira.codehaus.org/browse/MFINDBUGS-74
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: windows xp, maven 2
> Reporter: Jason Weden
> Assignee: Garvin LeClaire
>
> Every bug listing in the xml output for version the findbugs maven plugin
> is listed in the "CORRECTNESS" category. I'm using the
> findbugs-maven-plugin-2.0-20090121.135609-24.jar. I've checked with the
> findbugs group and they say this isn't standard findbugs xml output and
> that it is specific to the plugin.
> The xml bug snippet below is an example of
> something that should be "MULTITHREADED CORRECTNESS" according to:
> http://findbugs.sourceforge.net/bugDescriptions.html :
> - <bug>
> <message>Synchronization on boxed primitive values</message>
> <priority>NORMAL</priority>
> <key>11974</key>
> - <lineRanges>
> - <range>
> <start>68</start>
> <end>68</end>
> </range>
> </lineRanges>
> <primaryLineNumber>68</primaryLineNumber>
> <fileName>E:/hudson/jobs/configserver-main-separate/workspace/rwc467_builds
> erver_AXSV_R7_sip_config_int_separate/qbvision-nms/client/devicemgr/src/com
> /quantumbridge/client/devicemgr/graphics/NetworkPanel.java</fileName>
> <moduleName>findbugs</moduleName>
> <packageName>com.quantumbridge.client.devicemgr.graphics</packageName>
> <category>CORRECTNESS</category>
> <type>DL_SYNCHRONIZATION_ON_UNSHARED_BOXED_PRIMITIVE</type>
> <contextHashCode>11975</contextHashCode>
> <tooltip />
> <instanceHash>297b57c391d5aa2c8854ab537de763a8</instanceHash>
> </bug>
> Here is the maven configuration.
> I'm generating the standard findbugs.xml as a result of my ant target
> below:
> <target name="findbugs"
> description="Runs findbugs. Requires OS variable for
> findbugs.home and jars to be packaged.">
> <mkdir dir="${findbugs.dir}"/>
> <findbugs effort="max"
> jvmargs="-Xmx1024M"
> home="${env.findbugs.home}"
> output="xml:withMessages"
> outputFile="${findbugs.dir}/findbugs.xml"
> stylesheet="default.xsl"
> timeout="7200000">
> <auxClasspath>
> <fileset dir="${lib.dir}/ext/">
> <include name="*.jar" />
> </fileset>
> </auxClasspath>
> <sourcePath refid="all-src-ref"/>
> <class location="${lib.dir}/*.jar"/>
> </findbugs>
> </target>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email