下載下傳位址:https://www.sonarqube.org/
直接基于maven送出檢查:clean package sonar:sonar
setting.xml加入:
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Optional URL to server. Default value is http://localhost:9000 -->
<sonar.host.url>http://IP:9000</sonar.host.url>
</properties>
</profile>