選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.md 3.8KB

13年前
6年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. SonarQube [![Build Status](https://travis-ci.org/SonarSource/sonarqube.svg?branch=master)](https://travis-ci.org/SonarSource/sonarqube) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=org.sonarsource.sonarqube%3Asonarqube&metric=alert_status)](https://sonarcloud.io/dashboard?id=org.sonarsource.sonarqube%3Asonarqube)
  2. =========
  3. Continuous Inspection
  4. ---------------------
  5. SonarQube provides the capability to not only show health of an application but also to highlight issues newly introduced. With a Quality Gate in place, you can [fix the leak](https://blog.sonarsource.com/water-leak-changes-the-game-for-technical-debt-management) and therefore improve code quality systematically.
  6. Links
  7. -----
  8. * [Website](https://www.sonarqube.org)
  9. * [Download](https://www.sonarqube.org/downloads/)
  10. * [Documentation](https://docs.sonarqube.org)
  11. * [Twitter](https://twitter.com/SonarQube)
  12. * [SonarSource](https://www.sonarsource.com), editor of SonarQube
  13. * [Issue tracking](https://jira.sonarsource.com/browse/SONAR/), read-only. Only SonarSourcers can create tickets.
  14. * [Demo](https://next.sonarqube.com/sonarqube) of the next version to be released
  15. Have Question or Feedback?
  16. --------------------------
  17. For support questions ("How do I?", "I got this error, why?", ...), please first read the [documentation](https://docs.sonarqube.org) and then head to the [SonarSource forum](https://community.sonarsource.com/). There are chances that a question similar to yours has already been answered.
  18. Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)
  19. Contributing
  20. ------------
  21. If you would like to see a new feature, please create a new thread in the forum ["Suggest new features"](https://community.sonarsource.com/c/suggestions/features).
  22. Please be aware that we are not actively looking for feature contributions. The truth is that it's extremely difficult for someone outside SonarSource to comply with our roadmap and expectations. Therefore, we typically only accept minor cosmetic changes and typo fixes.
  23. With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make.
  24. Make sure that you follow our [code style](https://github.com/SonarSource/sonar-developer-toolset#code-style) and all tests are passing (Travis build is executed for each pull request).
  25. Building
  26. --------
  27. To build sources locally follow these instructions.
  28. ### Build and Run Unit Tests
  29. Execute from project base directory:
  30. ./gradlew build
  31. The zip distribution file is generated in `sonar-application/build/distributions/`. Unzip it and start server by executing:
  32. # on linux
  33. bin/linux-x86-64/sonar.sh start
  34. # or on MacOS
  35. bin/macosx-universal-64/sonar.sh start
  36. # or on Windows
  37. bin\windows-x86-64\StartSonar.bat
  38. ### Open in IDE
  39. If the project has never been built, then build it as usual (see previous section) or use the quicker command:
  40. ./gradlew ide
  41. Then simply open the root file `build.gradle` as a project in Intellij or Eclipse.
  42. ### Find available updates of dependencies
  43. Execute from project base directory:
  44. ./gradlew dependencyUpdates
  45. ### Update the files missing the license header
  46. Execute from project base directory:
  47. ./gradlew licenseFormat --rerun-tasks
  48. ### List all dependencies
  49. Execute from project base directory:
  50. ./gradlew printDependencies
  51. License
  52. -------
  53. Copyright 2008-2019 SonarSource.
  54. Licensed under the [GNU Lesser General Public License, Version 3.0](https://www.gnu.org/licenses/lgpl.txt)