This example demonstrates how to use the SonarQube web service API (manual_measures).
- SonarQube 3.5 or higher
-
In src/main/java/sample/Sample.java, set the proper values to connect to your SonarQube server and project.
-
Compile the project:
mvn clean compile assembly:single
-
Call the web service:
cd target java -jar manual-measure-ws-1.0-SNAPSHOT-jar-with-dependencies.jar
-
Check the output