SonarQube

Companion for Delivery allows us to store clear sources in our version control source software (vcs), which means that we can run code analysis on our business rules using SonarQube.

Add the following properties to your pom.xml

<properties>
    <sonar.host.url>https://my-sonar-server.fr</sonar.host.url>
    <sonar.junit.reportsPath>target/failsafe-reports</sonar.junit.reportsPath>
    <sonar.sources>src/main/step</sonar.sources>
</properties>

Maven sonar goal

mvn sonar:sonar

WARNING

Don't forget to replace those properties with yours

Last Updated: