tomasbjerre / violations-lib

Java library for parsing report files from static code analysis.
Apache License 2.0
148 stars 39 forks source link

I am unable to parse a report #166

Closed WoodyAsterisk closed 1 year ago

WoodyAsterisk commented 2 years ago

I am unable to parse a report:

npx violations-command-line -s INFO -mv 0 -v "PMD" "." ".pmd/main.xml$" "PMD" INFO Found 0 reports in . with pattern .pmd(?:/|\)main.xml$

I didn't get any violations but I know there are a lot of them. I integrated correctly with Bitbucket but that line still appears. I tried some of your examples too.

INFO Found 0 reports in . with pattern .*pmd(?:/|\)main.xml$

tomasbjerre commented 2 years ago

Looks like there is no main.xml file in your path. What is the full path of the file containing the pmd violations?