IngmarBoddington
7/17/2014 - 4:08 PM

Maven settings file (example with MySQL setup for Sonar)

Maven settings file (example with MySQL setup for Sonar)

<settings>
    <profiles>
      <profile>
          <id>sonar</id>
          <activation>
                  <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
                  <sonar.jdbc.url>
                      jdbc:mysql://localhost:3306/sonar
                  </sonar.jdbc.url>
                  <sonar.jdbc.driverClassName>com.mysql.jdbc.Driver</sonar.jdbc.driverClassName>
                  <sonar.jdbc.username>sonar</sonar.jdbc.username>
                  <sonar.jdbc.password>sonar</sonar.jdbc.password>
                  <sonar.host.url>
                      http://localhost:9000
                  </sonar.host.url>
          </properties>
      </profile>
    </profiles>
</settings>