To check all the errors in checkstyle and where they’re located:

  1. go to the project’s folder where the error triggers
  2. open target/checkstyle-result.xml
  3. search for ="error"
  4. there the classes’ name and the error line # can be seen


To find where the error is located. Search for the String priority="1". If nothing is found, search for prio 2, 3…

Launch options

Resume a build from the microservice where it failed

mvn -rf myproject clean install

Build only two modules from the project

mvn -pl module1,module2 clean install

Dependency version ranges

(work always with the latest version of a dependency)

<!--Specifies from 1.1.0 on. The latest one -->