[ 
http://jira.codehaus.org/browse/MFINDBUGS-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165794#action_165794
 ] 

Jason Weden commented on MFINDBUGS-74:
--------------------------------------

Hi Garvin,

Thanks for your response.  I'm looking at my original entry for this bug and I 
mentioned both maven and ant.  Sorry for the confusion.  In investigating 
further, I see this problem with both maven and ant.  I gave you my ant 
configuration above.  Here is my maven configuration:

  <pluginRepository>
                        <id>codehaus</id>
                        <name>Codehaus Snapshots</name>
                        <url>http://snapshots.repository.codehaus.org</url>
                </pluginRepository>
...
<plugin>
                   <groupId>org.codehaus.mojo</groupId>
                   <artifactId>findbugs-maven-plugin</artifactId>
                   <version>2.0-SNAPSHOT</version>
                   <configuration>
                      <findbugsXmlOutput>true</findbugsXmlOutput>
                      <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
                      <xmlOutput>true</xmlOutput>
                   </configuration>
                </plugin>

> 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


Reply via email to