I am trying to get sonar to work for a project with a quality profile that includes Findbugs rules.
However, analyzing the project, antagonistic sonar tracks with the following error:
Caused by: java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found at edu.umd.cs.findbugs.filter.Filter.<init>(Filter.java:134) at edu.umd.cs.findbugs.FindBugs.configureFilter(FindBugs.java:516) at edu.umd.cs.findbugs.FindBugs2.addFilter(FindBugs2.java:374) at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:136) ... 50 more
In this project, dependencies are resolved using ivy and have no dependency on libraries such as xerces and xalan. I also realized that xers are included in the JVM and it is always nice to deal with ...
I tried to add all kinds of dependencies to use for the sonar.libraries property, but without effect, adding local JRE libraries also does not have much effect.
How can I run this search analysis (offline)?
(sonar version: 4.4, findbugs3 plugin)
Update: I just found out that the source of the conflict has a target earlier in the assembly, and removing it corrects it. Of course, I really like to keep my report on ivy, so the question is how can I get this to work ...?
ivy sonarqube findbugs xerces
pvgoddijn
source share