generator.server.sonar.sonar.md.mustache Maven / Gradle / Ivy
# Usage
Start a local Sonar server with:
```bash
docker compose -f src/main/docker/sonar.yml up -d
```
Then, run a Sonar analysis:
For Maven
```bash
./mvnw clean verify sonar:sonar
```
or
For Gradle
```bash
./gradlew clean build sonar --info"
```
You can see the result at [http://localhost:9001/](http://localhost:9001/)
[Official documentation](https://www.sonarqube.org/)