Comments (7)
Seems
sonar-scanner
indeed has to be installed at my machine. Can I avoid that?
Yes, currently sbt-sonar requires sonar-scanner cli to be installed on your machine, however, there is some work in progress to use the embedded scanner api instead so it won't be necessary to have sonar-scanner cli installed once #20 is completed. I'm planning to pick it up and finish it off soon, so stay tuned for updates.
from sbt-sonar.
Duplicate of #19.
from sbt-sonar.
any update on this? would be a great feature.
from sbt-sonar.
It's next on my list after sonar-scala/sonar-scala#196 is done.
from sbt-sonar.
Thank you. In the mean time, I'm trying to just package the cli along with my sbt build. What's the proper way to set sys.props.get("sonarScanner.home")
inside build.sbt
so that I can run sonarScan
?
from sbt-sonar.
I'm trying to just package the cli along with my sbt build.
I'm not sure what you mean by that, can you elaborate, please?
What's the proper way to set
sys.props.get("sonarScanner.home")
insidebuild.sbt
so that I can runsonarScan
You can either export the SONAR_SCANNER_HOME
environment variable or you can set the sonarScanner.home
property explicitly when running sbt, e.g. sbt -DsonarScanner.home=~/bin/sonar-scanner sonarScan
.
from sbt-sonar.
Hi @sslavian812, @robbyki - I released version 2.0 of sbt-sonar, which no longer requires the sonar-scanner cli.
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
- 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.