CompanionCompanion
Companion for Delivery
Companion for Business
Companion for Integration
Contact us
Log out
Companion for Delivery
Companion for Business
Companion for Integration
Contact us
  • Companion for Delivery

    • Introduction
    • Installation
    • Project
  • Developer

    • Compiler
    • Decompiler
    • Diff
    • Incremental Build
    • Twirl
    • Companion Twirl Templates
    • Sheet to Xml
    • Tests
    • JSDoc
    • STEP API Autocomplete
    • Integrated Development Environment (IDE)
  • Devops

    • Continuous Integration (CI)
    • SonarQube
    • Maven configuration
  • STEPdoc
  • Example
  • FAQ

    • How to
    • Troubleshooting
  • Changelog

    • Changelog Companion for Delivery
    • Changelog Companion Twirl Templates
    • Changelog Companion Test Helpers

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: 12/2/20, 1:08 PM
Prev
Continuous Integration (CI)
Next
Maven configuration