GithubHelp home page GithubHelp logo

Comments (7)

mwz avatar mwz commented on July 20, 2024 3

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.

mwz avatar mwz commented on July 20, 2024

Duplicate of #19.

from sbt-sonar.

robbyki avatar robbyki commented on July 20, 2024

any update on this? would be a great feature.

from sbt-sonar.

mwz avatar mwz commented on July 20, 2024

It's next on my list after sonar-scala/sonar-scala#196 is done.

from sbt-sonar.

robbyki avatar robbyki commented on July 20, 2024

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.

mwz avatar mwz commented on July 20, 2024

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") inside build.sbt so that I can run sonarScan

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.

mwz avatar mwz commented on July 20, 2024

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)

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.