# Add sonar-r-plugin into Marketplace

**URL:** <https://community.sonarsource.com/t/add-sonar-r-plugin-into-marketplace/49352>\
**Category:** Plugin Development\
**Created:** [September 7, 2021, 9:21am UTC](https://community.sonarsource.com/t/add-sonar-r-plugin-into-marketplace/49352 "2021-09-07T09:21:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmoco2am](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kmoco2am/32/25477_2.png) [@kmoco2am](https://community.sonarsource.com/u/kmoco2am)\
**Post date:** [September 7, 2021, 9:21am UTC](https://community.sonarsource.com/t/add-sonar-r-plugin-into-marketplace/49352/1 "2021-09-07T09:21:00Z")

</div>

Hi, we have created plugin to gather statistics about R language and push it into SonarQube.

- Homepage: [https://github.com/Merck/sonar-r-plugin](https://github.com/Merck/sonar-r-plugin)
- SonarCloud: [https://sonarcloud.io/dashboard?id=com.msd.gin.common.sonar:sonar-r-plugin](https://sonarcloud.io/dashboard?id=com.msd.gin.common.sonar:sonar-r-plugin)

I am going to add more information here (e.g. PR for sonar-update-center-properties) a bit later. Is the plugin in general ok to be added into Marketplace?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [September 21, 2021, 7:08pm UTC](https://community.sonarsource.com/t/add-sonar-r-plugin-into-marketplace/49352/2 "2021-09-21T19:08:21Z")

</div>

Hi,

Congrats on your plugin!

Going through the [bureaucratic requirements](https://community.sonarsource.com/t/deploying-to-the-marketplace/35236) this is what I see:

2.1 I see your releases but no release notes. As long as there are notes for the version that’s your initial entry into the Marketplace and going forward, we can call this one good, though.

3.5 I’m not seeing a property in your pom to set the plugin key, so based on your artifact id, it will just be ‘r’, which breaks this requirement. And besides, even though a “short and unique” (3.1) ID is required, a single letter is probably too short.

5 I see you’ve already provided a sample project for testing, but could you go a little farther and provide the reports to be imported in that project? Since I don’t use R, I don’t want to put all the infrastructure for dealing with R on my machine.

9 Without testing I can’t be sure, but based on your readme, I think you don’t meet this requirement since you list “code statistics (e.g. number of lines of code)” as planned.

Feel free to ping me when you’ve addressed #5 (even before the other stuff if you like) and I can put an initial test run in my queue to give you feedback on what you’ve implemented so far.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![kmoco2am](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kmoco2am/32/25477_2.png) [@kmoco2am](https://community.sonarsource.com/u/kmoco2am)\
**Post date:** [October 5, 2021, 12:28pm UTC](https://community.sonarsource.com/t/add-sonar-r-plugin-into-marketplace/49352/3 "2021-10-05T12:28:51Z")

</div>

Hi,  
many thanks for your reply. I am going to work on all points you pointed out (especially adding more information about simple usage and release notes). I am a bit not sure about point 3.5. I know that key ‘r’ is very short but just it is the name of the language. Would you suggest better key or is it acceptable?

Ondra

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [October 5, 2021, 3:17pm UTC](https://community.sonarsource.com/t/add-sonar-r-plugin-into-marketplace/49352/4 "2021-10-05T15:17:02Z")

</div>

Hi Ondra,

You specifically can’t make your plugin key just be the name of a language. That’s explicitly what requirement 3.5 is. Something like `communityr` `rcommunity` or even `rbyondra` would be perfectly acceptable though.

&nbsp;  
HTH,  
Ann
