2025-03-14 21:59:59 -06:00
|
|
|
# sonar-scanner
|
|
|
|
|
|
|
|
|
|
> Maven, Gradle, Ant와 같은 빌드 도구를 사용하지 않는 SonarQube 프로젝트를 위한 일반 스캐너.
|
2026-02-18 06:55:01 -07:00
|
|
|
> 더 많은 정보: <https://docs.sonarsource.com/sonarqube-server/analyzing-source-code/scanners/sonarscanner>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 프로젝트의 루트 디렉토리에 있는 `sonar-project.properties`라는 구성 파일로 프로젝트 스캔:
|
|
|
|
|
|
|
|
|
|
`sonar-scanner`
|
|
|
|
|
|
|
|
|
|
- `sonar-project.properties`가 아닌 다른 구성 파일을 사용하여 프로젝트 스캔:
|
|
|
|
|
|
|
|
|
|
`sonar-scanner -D{{project.settings=myproject.properties}}`
|
|
|
|
|
|
|
|
|
|
- 디버깅 정보 출력:
|
|
|
|
|
|
|
|
|
|
`sonar-scanner -X`
|
|
|
|
|
|
|
|
|
|
- 도움말 표시:
|
|
|
|
|
|
|
|
|
|
`sonar-scanner -h`
|