Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Description

Add a report link to the Maven site that redirects to the project dashboard in SonarSonarQube.

Image RemovedImage Added
 

Usage

 Add the plugin to the reporting section in the POM:

...

Code Block
xml
xml
<properties>
  <!-- default value is http://localhost:9000 -->
  <sonar.host.url>http://my_server:9000</sonar.host.url>

  <!-- no branch by default -->
  <branch>BRANCH-1.x</branch>
</properties>

Generate the maven Maven site:

Code Block
mvn site