which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
–> SonarQube 8.1 community edition
what are you trying to achieve
–> Installed Java I18n plugin to scan resource bundles and find the analysis report with respect to Internationalization.
what have you tried so far to achieve this
–> Checked all settings and Issue report to find the report/ how to run the plugin.
where you got it I got this plugin from marketplace under administration menu in SonarQube
how you’re trying to run it I dont know how to run a plugin (built-in/external) particularly, but I run sonar analysis command from maven like mvn sonar:sonar
what errors you’re seeing I dont see any errors/failures not even specific results with respect to plugin. I am wondering how to view the corresponding report generated by plugin in SonarQube.
That plugin, IIRC, adds additional rules. To ‘use’ it, you must enable those rules in your Quality Profile and if it raises any issues you’ll see them in with the other issues on the project.
I dont see any profile created related to I18n under quality profiles. I only see built in profiles like Java, Javascript, etc., which are marked built in. I dont see anything as external / I18n to enable it. But am sure that Java I18n plugin is installed without any error and still see in market place as installed.
You are right.! This Java I18n plugin (external analyzer for Sonar) didnt create a profile by default. So, as you mentioned, I have created a new profile for it and searched the rules related to I18n which might be created by installing this Java I18n plugin. I found few rules and activated them to this profile.
Then, I have re run the maven package followed by sonar goal. I didnt see any difference in sonar results.
Actually I had created Java I18n profile under Java category where Java (Sonar way) was built in and selected by default.
Now, I have changed default to be picked as Java I18n profile instead of Java (Sonar way) which is built one.
Then, I have re ran the maven package and followed by Sonar goal. Now I see issues related to I18n which are mapped to activated rules by this new plugin.
Thank you very much for your instructions with which I could see desired results related to Java I18n plugin in Sonar server
But now, how can I use both Java I18n plugin rules along with Java (Sonar way) built in rules for given project instead of just one profile at a time.