{"id":26115594,"url":"https://github.com/aol/sbt-sonarrunner-plugin","last_synced_at":"2025-04-13T04:37:23.764Z","repository":{"id":27251516,"uuid":"30723852","full_name":"aol/sbt-sonarrunner-plugin","owner":"aol","description":"An SBT plugin to publish code quality data to SonarQube","archived":false,"fork":false,"pushed_at":"2018-11-13T16:06:20.000Z","size":23,"stargazers_count":16,"open_issues_count":4,"forks_count":12,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-03-26T21:37:40.140Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-12T21:05:35.000Z","updated_at":"2021-03-07T02:13:34.000Z","dependencies_parsed_at":"2022-09-01T19:00:51.987Z","dependency_job_id":null,"html_url":"https://github.com/aol/sbt-sonarrunner-plugin","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fsbt-sonarrunner-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fsbt-sonarrunner-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fsbt-sonarrunner-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aol%2Fsbt-sonarrunner-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aol","download_url":"https://codeload.github.com/aol/sbt-sonarrunner-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665759,"owners_count":21142121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-10T07:55:55.850Z","updated_at":"2025-04-13T04:37:23.744Z","avatar_url":"https://github.com/aol.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-sonarrunner-plugin\n\nAn SBT plugin to publish code quality data to SonarQube\n\n## Build status\n\n![Build health](https://travis-ci.org/aol/sbt-sonarrunner-plugin.svg)\n\n## Installation\n\n# NOTE this plugin targets sbt 1.1.0+\n\nAdd the following to your `project/plugins.sbt` file:\n\n```scala\naddSbtPlugin(\"com.aol.sbt\" % \"sbt-sonarrunner-plugin\" % \"1.1.0\")\n```\n\nTo use the SonarRunner settings in your project, add the `SonarRunnerPlugin` auto-plugin to your project.\n\n```scala\nenablePlugins(SonarRunnerPlugin)\n```\n\n## Configuration\n\nTo use specific Sonar settings, add the following to your `build.sbt` file:\n\n```scala\nsonarProperties ++= Map(\n      \"sonar.host.url\" -\u003e \"http://sonarhostname.com\",\n      \"sonar.jdbc.username\" -\u003e \"sonar\",\n      \"sonar.jdbc.password\" -\u003e \"sonar\",\n      \"sonar.coverage.exclusions\" -\u003e \"**/MobileAppController.java,**/SomeClass.java\"\n    )\n```\n\nYou can also specify the following sonar-runner options:\n\n```\n-D,--define \u003carg\u003e     Define property\n-e,--errors           Produce execution error messages\n-h,--help             Display help information\n-v,--version          Display version information\n-X,--debug            Produce execution debug output\n```\n\n```scala\nsonarRunnerOptions := Seq(\"-e\", \"-X\")\n```\n\nRun Sonar\n\n```bash\n    sbt sonar\n```\n\n## Full list of Sonar analysis parameters\n\nhttp://docs.sonarqube.org/display/SONAR/Analysis+Parameters\n\n## Bintray\n\nhttps://bintray.com/aol/scala/sbt-sonarrunner-plugin/view\n\n## Author\n\nmaestr0 - Pawel Raszewski\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faol%2Fsbt-sonarrunner-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faol%2Fsbt-sonarrunner-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faol%2Fsbt-sonarrunner-plugin/lists"}