-
Notifications
You must be signed in to change notification settings - Fork 32
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
scala key duplicated #31
Comments
Thanks for letting me know. It looks like I will have to fix it soon. |
No problem. I'd have gone to the other authors, but you were the most responsive. :) Also, I naively tried to compile a version (of the other plugins) that changed the key, but then Sonar-runner complained that there were two keys matching the same *.scala file-match pattern, so I gave up at that point. |
I started looking at the problem, but I cannot reproduce it. I use SonarQube 5.3, latest Scalastyle (I built it locally) and latest Scoverage plugin (5.1). What's your configuration? Would it be possiblefor you to upgrade to latest versions too? |
I am seeing this problem. I am using
|
FWIW I am hitting the same problem with:
|
Thanks guys, I'll give it another try. |
I have the same problem with Sonar 5.4. Any news on this issue? |
I'm also experiencing this issue with Sonar 5.4 and sbt-scoverage 1.3.5, as well as all the latest versions of Sonar, Scoverage and Scalastyle plugins. |
this looks like a beautiful rainy night to close this thing for good...stay tuned |
ok, so I played some with it this week and just ended up more confused.
I tried to use different combinations and different forks of the above Thanks for the hard work, and I'd be glad to test it when you have Roberto On 04/08/2016 09:42 AM, Rado Buranský wrote:
|
The situation is that there is NO Scala plugin for Sonar yet. I would be extremely happy if anyone of you had the time to merge these into one. |
Issue reproduced by running anaylsis run on the SBT multi-module sample:
Error message:
|
Here is the released plugin. Enjoy and break it again. Thanks a lot to all of you and sorry for letting you waiting so long. |
So... I've got the latest version of sonar, with your plugin and the scalastyle plugin.. in a similar environment to yours. I then run, in my project: It all runs fine, with no errors I can see (details available if you want them) And yet, the only thing I see in the sonar server is the project, but no data relating to style or coverage, in fact... it says there's no LOCS. Did I miss something? |
@rleibman I don't know but it sounds like a different issue anyway. |
Thanks @RadoBuransky. It is working now :) |
@rleibman You may in fact not be doing anything wrong, but it's worth noting that I don't think this plugin gives a LOC count, meaning it's quite possible to get a LOC count of 0 for 'Scala'. You need some kind of 'Scala language' plugin for that, but again, you'll end up with conflicts over which plugin defines what 'Scala' is. @RadoBuransky I did hack together my own 'Scalastyle + Scoverage' 'uber' plugin a little while ago, by essentially fiddling the dependencies and only defining 'Scala' once, was hacky, but did work. Might have a second go-around with something a bit more formal. Looked at https://github.com/Stratio/sonar-scala-plugin as well for more scala language metrics. Thanks for your hard work! |
Hi there, and thanks for the wonderful plugin! If I knew anything about this domain, I'd try to write a pull request, but I don't. :(
Anyway, I ran across the following issue, which I actually found a Stack Overflow and Sonar ticket relating to.
http://stackoverflow.com/questions/35310698/sonarqube-background-tasks-failing-with-multiple-entries-with-same-key
and
https://jira.sonarsource.com/browse/SONAR-7318
The core problem seems to be:
Thanks!
The text was updated successfully, but these errors were encountered: