Skip to end of metadata
Go to start of metadata

Install

Download and install Maven 2.0.10, 2.1.x, 2.2.x or 3.0.x.

Global Settings

Edit the settings.xml file, located in $MAVEN_HOME/conf or ~/.m2, to set the database parameters to be used as well as the SonarQube server URL.

Example:

It is recommended to increase the Java heap memory. It avoids getting OutOfMemoryError failures. Set the MAVEN_OPTS environment variable:

 

You are now ready to analyze a project with Maven.

Labels
  • None