Skip to content

Instantly share code, notes, and snippets.

@luizrobertofreitas
Created May 19, 2014 03:39
Show Gist options
  • Save luizrobertofreitas/a6b975bd6adf8f71a700 to your computer and use it in GitHub Desktop.
Save luizrobertofreitas/a6b975bd6adf8f71a700 to your computer and use it in GitHub Desktop.
Maven + Sonar Configuration
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Example for MySQL-->
<sonar.jdbc.url>
jdbc:mysql://localhost:3306/sonarqube?useUnicode=true&amp;characterEncoding=utf8
</sonar.jdbc.url>
<sonar.jdbc.username>root</sonar.jdbc.username>
<sonar.jdbc.password>123456</sonar.jdbc.password>
<!-- Optional URL to server. Default value is http://localhost:9000 -->
<sonar.host.url>
http://localhost:9000
</sonar.host.url>
</properties>
</profile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment