GithubHelp home page GithubHelp logo

Comments (9)

mwz avatar mwz commented on July 20, 2024 2

Hi @goldsworthy, we're aware of an issue with the scapegoat sensor and multi module projects, which we're tracking in sonar-scala project (sonar-scala/sonar-scala#92). Please keep an eye on this issue - I'm hoping to fix it pretty soon.

from sbt-sonar.

mwz avatar mwz commented on July 20, 2024 2

Here is the hotfix sonar-scala/sonar-scala#96 - I should be able to release it relatively quickly once the PR gets reviewed.

from sbt-sonar.

mwz avatar mwz commented on July 20, 2024

Hi @goldsworthy, would you be able to give 6.5.1 a try and let us know if that fixes the issue for you?

from sbt-sonar.

goldsworthy avatar goldsworthy commented on July 20, 2024

@mwz I installed the 6.5.1 plugin and tested this with the example project and my own project. I'm not seeing the scapegoat information in SonarQube for either project. Please let me know if there is any other information I can provide.

from sbt-sonar.

BalmungSan avatar BalmungSan commented on July 20, 2024

Hi @goldsworthy, that's strange

Could you provide us with the debug logs of the test project run.

from sbt-sonar.

goldsworthy avatar goldsworthy commented on July 20, 2024

@BalmungSan https://gist.github.com/goldsworthy/44e497fc93d8486884d351a122967123

from sbt-sonar.

BalmungSan avatar BalmungSan commented on July 20, 2024

@goldsworthy I think I found your problem.

If you were using the old scapegoat plugin those rules are no longer valid, since this is a new plugin, so you should update your quality profile.

PS: If you want you can use the default Scapegoat quality profile that the plugin provides, just for testing 😉

Hope it helped 👍.

from sbt-sonar.

goldsworthy avatar goldsworthy commented on July 20, 2024

@mwz @BalmungSan I can confirm this is working properly - your help and responsiveness is greatly appreciated!

from sbt-sonar.

mwz avatar mwz commented on July 20, 2024

That's excellent, I'm glad we got to the bottom of it - thanks @BalmungSan for jumping in!

@goldsworthy, the best thing you can do for now is to create a new profile with scalastyle and scapegoat rules (if you want to use both). In the near future, we're planning to provide both a combined profile (Scalastyle + Scapegoat) along with a recommended profile, so this should be easier to set up.

It also looks like SonarSource will be working on official support for Scala later this year, so watch out this space.

from sbt-sonar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.