O'Reilly logo

Sonar Code Quality Testing Essentials by Charalampos Arapidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Analysis with the Sonar Maven plugin

Maven is a build system tool allowing developers and teams to build their projects in a uniform way. It is based on a common Project Object Model standardizing the structure of Java projects. Build settings, plugins, and library dependencies, all stored in a single pom.xml configuration file—the core of the Maven build system.

The mechanism of the Maven build system follows the notion of goals. For example, if you want to compile a project, you run Maven's mvn command with the compile goal as a parameter. Similarly, the mvn test command will compile and execute the project's unit tests, while mvn package builds go through the whole process from compiling and executing unit tests to packaging your final application. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required