| I have a handful of custom tools to generate custom reports on my code base and/or the compiled results. Right now I am abusing the output format of PMD to get close to the output I want. However, it would be nice if I could generate a file that mapped directly to the fields used by the plugin. This might also be useful for people who do not have admin access to write groovy parsers. They could do some local analysis, then generate this file format. An example of the input file format:
<issues>
<issue>
<category>Category 1</category>
<type>Type 1</type>
<severity>WARNING_LOW</severity>
<message>Message 1</message>
<lineStart>0</lineStart>
<lineEnd>0</lineEnd>
<columnStart>0</columnStart>
<columnEnd>0</columnEnd>
<lineRanges/>
<description>Description 1</description>
<moduleName>Module 1</moduleName>
<packageName>-</packageName>
<fileName>-</fileName>
</issue>
<issue>
<category>Category 2</category>
<type>Type 2</type>
<severity>WARNING_HIGH</severity>
<message>Message 2</message>
<lineStart>0</lineStart>
<lineEnd>0</lineEnd>
<columnStart>0</columnStart>
<columnEnd>0</columnEnd>
<lineRanges/>
<description>Description 2</description>
<moduleName>Module 2</moduleName>
<packageName>-</packageName>
<fileName>-</fileName>
</issue>
</issues>
</code>
If this is of general interest I can post a PR. |