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. ...
Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.