From: SourceForge.net <no...@so...> - 2009-02-12 14:07:48
|
Bugs item #2593045, was opened at 2009-02-12 08:34 Message generated for change (Settings changed) made by jweden You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497853&aid=2593045&group_id=61626 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: findbugs Group: None >Status: Closed Resolution: Invalid Priority: 5 Private: No Submitted By: Jason Weden (jweden) Assigned to: Jeff Jensen (jeffjensen) Summary: xml report output contains wrong category designations Initial Comment: 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> ---------------------------------------------------------------------- >Comment By: Jason Weden (jweden) Date: 2009-02-12 09:07 Message: ok, thanks. ---------------------------------------------------------------------- Comment By: Jeff Jensen (jeffjensen) Date: 2009-02-12 08:54 Message: findbugs-maven-plugin is a Maven 2 plugin. This tracker is for Maven 1. You want ot go here: http://jira.codehaus.org/browse/MFINDBUGS ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497853&aid=2593045&group_id=61626 |