Then, all that remains is to go to the directory of your project and execute the Maven goal with the following command: (This is for Maven 2, for Maven 3 check here ).Īt this point you have everything necessary to perform your code analysis from Maven, so it will perform the analysis in the SonarQube server that you have already installed in a Docker container (explained here ). To begin with this process, the first thing you must do is add the SonarQube plugin to your Maven project as follows: In this third and final post, we will see two SonarQube alternatives: Maven and an IDE. In part two of this blog series on code analysis, I showed you how to do a proof of concept quickly using a SonarQube Docker image, and run the analysis from SonarQube Scanner. How to run a code analysis from Maven or an IDE
0 Comments
Leave a Reply. |