I am using SonarQube 7.9.6 and trying to apply some custom validations on the pom.xml of my Mulesoft project using xpath.
I have created a rule and attached it to the extended quality profile of the XML language. However, when I run the command “mvn sonar:sonar” – on the dashboard, I do not see the rule failing even though it should (e.g. XPATH(1=2) which would always return false).
I have set the <sonar.sources> correctly. Can anyone provide some insight on why the validation is not failing?