hi everybody,
at the moment i'm using FindBugs together with ant. now i'd like to use
FindBugs with maven.
The problem is now, that the xml-output generated with the ant-target differs
from one generated with the maven-findbugs-plugin.
xml-output generated by the maven-plugin:
<BugCollection version=........." >
<file classname=........." >
<BugInstance type="SA_LOCAL_SELF_ASSIGNMENT" priority="Normal"
category="STYLE" message="SA: ......" lineNumber="21" />
<BugInstance type="BIT_AND_ZZ" priority="Normal"
category="CORRECTNESS" message=".........." lineNumber="15" />
</file>
<Errors>
</Errors>
</BugCollection>
to compare: xml-output with ant-task:
<BugCollection version="........." >
<Project filename="........">
<Jar>.....</Jar>
<SrcDir>......</SrcDir>
</Project>
<BugInstance ...>
<Class classname=".........">
<SourceLine classname="........"/>
</Class>
<Method ....>
<SourceLine ......../>
</Method>
<SourceLine classname="......." />
</BugInstance>
<Errors></Errors>
<FindBugsSummary........</FindBugsSummary>
<ClassFeatures></ClassFeatures>
<History></History>
</BugCollection>
So my questions:
*1) is there an "easy"-way to adjust the xml-ouput to the one similar zu the
ant-task? or do i have to rewrite the maven-plugin ?
*2) will the output get adjusted in the future, or will it always differ from
the one generated by the ant-task?
*3) whats the reason to change the output of findbugs? is it because maven
needs an other structure to be able to handle the output ?
it would be great if u could answer my questions....
and by the way....sorry for my bad english .-)