Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


You must have previously installed and configured Maven for SonarQubeTM and read Analyzing Code Source.


titleAdvanced Reactor Options

Note that Advanced Reactor Options (such as "--projects" and "--resume-from") are not supported by SonarQube TM and should not be used.

Alternative Way


The -Dmaven.test.failure.ignore=true is there to make sure that even if some unit tests fail, the SonarQube TM analysis will be performed.

Configuring the



A pom.xml file sample is available here.

Additional analysis parameters are listed on the Analysis Parameters page.


Since SonarQube TM 3.4, if a project cannot be accessed anonymously, the sonar.login and sonar.password properties are required to run an analysis on this project. These properties have to be set to the credentials of a user having the User role on this project. You can set them either:


Analyzing a Multi-module and Multi-language Project

Since SonarQube TM 3.3, it is possible to run an analysis on a multi-module project whose modules contains source code from different languages.