Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonar-scala plugin for Sonarqube 6.2 #8

Open
ssheru opened this issue Mar 22, 2017 · 16 comments
Open

Sonar-scala plugin for Sonarqube 6.2 #8

ssheru opened this issue Mar 22, 2017 · 16 comments

Comments

@ssheru
Copy link

ssheru commented Mar 22, 2017

The existing plugin only supports Sonarqube 5.4 series, can you please update this plugin to support Sonarqube v6.2.

Thanks,

@carlosmmelo
Copy link

or maybe 6.3

@ssheru
Copy link
Author

ssheru commented Mar 27, 2017

Inputs from other contributors are also appreciated.

@ssheru
Copy link
Author

ssheru commented Apr 4, 2017

Any updates on this plugin...

@aborsu
Copy link
Contributor

aborsu commented Apr 5, 2017

Updating is proving to be more difficult than planned.
There are three instances here.

  • need to rebuild to match latest lts version of sonarquebe (easy)
  • need to rebuild to match latest version of sonarqube (not so easy)
  • need to update to scala 2.12. This later one is quite hard as some dependencies have not been updated (scalariform for example)

@MichaelZinsmaier
Copy link
Contributor

Hi guys,

I spend some time updating the scoverage and scalastyle plugin to 6.3 (see the dev branch of my project forks). Both changesets are more or less untested + there are major issues with scoverage ...

see also discussions in both projects

In general I think it would be great to have one "official" Scala Plugin for SonarQube and this projects looks the most complete to me, would love to see you updating to a more recent version.

if you get the job done it might be worth it to contact scala.center@epfl.ch / https://scala.epfl.ch/#open-source that would add a lot of visibility!

best regards Michael

@sunilkumarvytla
Copy link

hello
I am trying to install the same plugin but I am not able to install it . Can I know the process of installing the plugin ..?

@evinhas
Copy link

evinhas commented Sep 12, 2017

Hi, have you tried to do using the sonar web app?
https://docs.sonarqube.org/display/SONAR/Installing+a+Plugin

Furthermore, you can also put the jar directly in the sonar directory. I've done in this way with success. The path is the $SONAR_HOME/extensions/plugins. You must copy the plugin *.jar directly in that path and restart sonar.

@sunilkumarvytla
Copy link

Hello, Thanks for your reply
I am using sonarqube 5.4 version and I see that we have to third party plugins if we want to integrate scala with sonarqube. Could you Please help me with this ...?

@politrons
Copy link

Hi, far are we to make the plugin compatible with latest Sonarqube versions?. If you guys need any help to make it done, I would be happy to help. Just need to know what need to be investigated to make it works.

@pcross616
Copy link

#23 works with 6.5 +

@mwz
Copy link

mwz commented Jan 23, 2018

Hi, are there any maintainers interested in reviewing and merging the above PR?
@pcross616, in case if there is no interest, would you be able to release a new version from your fork?

@aborsu
Copy link
Contributor

aborsu commented Jan 23, 2018

Hello,

I believe (considering the lack of response) this project was abandonned when I left Sagacify.
Whoever wants to take it over can simply fork it and publish it on their page (I no longer have access to this repository to transfer ownership.)
You can try to write to dev@sagacify.com
I would also be happy to help any one willing set up a continuous integration system.
Cheers

@pcross616
Copy link

pcross616 commented Jan 24, 2018 via email

@BalmungSan
Copy link

BalmungSan commented Feb 8, 2018

Hello @pcross616,

I would like to thank you for bringing this project into life again, my team and I are in the need of an updated scala plugin for sonar, and your fork of this project is just what we need.

We also see sonarqube-scala-docker from @mwz and we are hoping to see a new release of both projects. (see sonar-scala/sonar-scala-docker#2)

But we are having a problem with the scoverage plugin, it seems to be an abandoned project too, since SonarQube dropped support for Widgets the plugin no longer displays the results (see RadoBuransky/sonar-scoverage-plugin#38), we would like to know if it is possible for you to fix that in your fork.

As a side note, @mwz the Scapegoat plugin you use in your docker seems to be dead too, it works relatively well (although some missing rules from the newer version of Scapegoat). It would be great if you fork it too in your next release.

@mwz
Copy link

mwz commented Feb 11, 2018

Hi @BalmungSan,

I've released a new version of the plugin from my fork mwz/sonar-scala against SonarQube 6.7.1 LTS (including changes made by @pcross616) and I also updated mwz/sonarqube-scala-docker. I also have an sbt plugin mwz/sbt-sonar which you can use for automation.

Regarding the scoverage plugin, it is integrated into this project now and even though SonarQube dropped support for dashboards & widgets in 6.2, the new Projects page shows coverage metric for each project reported by scoverage, e.g.

dashboard

Try the new version and if you're still experiencing this issue please feel free to open an issue in my fork and I'll be happy to look into it.

Regarding the arthepsy/sonar-scala-extra scapegoat plugin, I'm aware that it is no longer maintained and it's missing some scapegoat rules. I was thinking about rewriting it in Scala and integrating it into my fork of sonar-scala and creating new quality profiles for Scapegoat and ScalaStyle with Scapegoat.

@BalmungSan
Copy link

BalmungSan commented Feb 11, 2018

Hi @mwz ,

"I also have an sbt plugin mwz/sbt-sonar which you can use for automation."

Yeah, it’s what my team has been using since the beginning of the project, it’s fantastic.

"I've released a new version of the plugin from my fork mwz/sonar-scala against SonarQube 6.7.1 LTS (including changes made by @pcross616) and I also updated mwz/sonarqube-scala-docker."

I had just look both projects, they are great. I just can't believe you even take the time to migrate the project from Java to Scala, I love it. I will update the plugin in our sonar server just after I finish writing this. (Even if today is my day off, I’m just too much excited about this that I can't wait lol 😄).

"the new Projects page shows coverage metric for each project reported by scoverage."

After I change the plugin I will scan the project again and see what happens, if the problem persist I will open an issue in your repo right away.

Update
The coverage metric still don't works, I will check it more carefully tomorrow in the office, and if the problem persist I will open an issue in your fork.

"Regarding the arthepsy/sonar-scala-extra scapegoat plugin. (...) I was thinking about rewriting it in Scala and integrating into my fork"

Dude, you are the real MVP. 😉

Finally, I just want to thank you for everything. 😌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants