Checkstyle
To check all the errors in checkstyle and where they’re located:
- go to the project’s folder where the error triggers
- open
target/checkstyle-result.xml
- search for
="error"
- there the classes’ name and the error line # can be seen
PMD
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 -->
<version>[1.1.0,)</version>