Skip to content

Instantly share code, notes, and snippets.

@xlbruce
Created May 19, 2016 17:13
Show Gist options
  • Save xlbruce/25dd774517d532794132ebc2c79ab45a to your computer and use it in GitHub Desktop.
Save xlbruce/25dd774517d532794132ebc2c79ab45a to your computer and use it in GitHub Desktop.
Maven command to build, test and add a project on Sonarqube
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Pcoverage-per-test && mvn sonar:sonar -Dsonar.host.url=http://localhost:9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment