I am using the 2.0-beta-1 with annotated Java 5 code using the JSR181 annotations.
http://xfire.codehaus.org/JSR+181+Annotations
Although my code compiles and runs fine, the JavaNCSS fails when trying to analyse it. I don't think it likes the annotations in the function parameters.
The code and ANT script output are attached for your interest. Although this is not a javancss-maven-plugin bug, I though it wise to bring it your attention.
I have also tested this with the latest JavaNCSS 27.48 outside of maven2 and confimed the problem still exists. I have emailed the author of JavaNCSS directly about this issue, since there is no bug tracking system I could find for it.
Thanks for your insight.
We should keep this issue open, until a fix is provided by javancss.
Once done, we will update the plugin.