Sonar Maven配置官方demo 基礎和多模塊配置

https://github.com/SonarSource/sonar-scanning-examples/tree/master/sonarqube-scanner-maven

Multi-module Apache Maven example

This project imports JaCoCo's aggregate XML report to be able to report coverage across modules as well as unit test coverage inside the module. For a basic example see basic maven project.

Usage

  • Build the project, execute all the tests and analyze the project with SonarQube Scanner for Maven:

      mvn clean verify sonar:sonar
    

Description

This project consists of 3 modules. 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章