How to configure pom file of apache CXF to run SonarQube for it

Hi,
I was trying to run sonarqube for apache CXF. I need to configure the pom.xml file. Can anyone help me with the modification commands for that.
Thanks

Hi,

You don’t actually need to modify the pom. If analysis doesn’t run the way you want just from mvn sonar:sonar, you can pass any additional parameters on the command like with -D[key]=[value].

 
HTH,
Ann

Hi, I am getting an additional error.


I am trying to rub sonarqube for cxf 3.3.12. please help me to find this out

Hi,

Generally we try to keep it to one topic per thread, but - despite the difficulty of reading your screenshot - this one’s easy. The error I see is

You have 1 PMD violation

PMD is outside the scope of this community. You’ll want to either disable PMD analysis in your build, or take this up with the PMD community.

 
Ann