Comments (9)
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.
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.
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.
@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.
Hi @goldsworthy, that's strange
Could you provide us with the debug logs of the test project run.
from sbt-sonar.
@BalmungSan https://gist.github.com/goldsworthy/44e497fc93d8486884d351a122967123
from sbt-sonar.
@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.
@mwz @BalmungSan I can confirm this is working properly - your help and responsiveness is greatly appreciated!
from sbt-sonar.
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)
- Support Server authentication token HOT 3
- sonarScan failing with multi module not directly under root path HOT 6
- scripted tests are broken
- java.lang.IllegalAccessError: class org.sonarsource.scala.checks.DuplicateBranchScalaCheck$$Lambda$5577/0x00000008020cdb00 HOT 2
- Plugins ignore some properties HOT 1
- Accept system properties when using an external config (sonarUseExternalConfig)
- Improved usage/getting started documentation HOT 5
- The 'sonar.scala.version' is not properly set or is missing HOT 3
- Add 'sonar.tests' property
- Settings with Subprojects HOT 1
- Analyze with Sonar also Java sources
- I have lots of unresolved dependencies HOT 2
- sbt analogue for `mvn sonar:sonar -Dsonar.host.url=http://localhost:9000` HOT 7
- scoverage report upload doesn't work HOT 10
- Have you seen this? HOT 1
- Non-zero exit with RuntimeException after successfully uploading the report HOT 2
- sonar.scala.scoverage.reportPath not honored HOT 1
- Show specific failed test in sonar UI HOT 1
- Issue when pushing to upstream branch due to OverlappingFileLockException HOT 4
- sonarScan ignoring report path properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-sonar.