Ashish Maurya Ashish Maurya - 1 year ago 78
Java Question

Custom rules do not create any issues after scanning source code using Sonarqube

I have created a set of Java Rules and packed it in a jar file using (Java plug in 3.13.1) as a dependency. Then added to the plugin path in my Sonar Qube 5.0.1 local installation($SONAR_HOME/extensions/plugins).
Now I was able to see the rules through the web interface. Then I run the sonnar-runner scanner (2.4) to test the issues generated to the custom rules. but after a successful execution there are no issues shown in the project through the web interface.
There are no errors or warnings in the sonar.log.
i have created custom profile using steps.

I have below versions for plugins.


Answer Source

Please make sure you're using same java plugin version : 1. in your "pom" - <java.plugin.version>3.13.1</java.plugin.version> 2. under $SONAR_HOME/extensions/plugins

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download