title: How to fail a maven build, if JUnit coverage falls below certain threshold
body: <p>I'm getting the Unit test coverage percentage metric from sonar rest api. </p>
  
  <p>How can I fail the build if it falls below a defined value?</p>