Set up your IDE as the following:
- use spaces for tabs
- set up auto code formatting (you can skip this after reading and following this or this)
-
- Usually we use a maven plugin
- Set up plugin to use pmd rules file from this repository
-
- Maven plugin
- Set up plugin to use rules file from this repository
-
- Maven plugin
- Set up plugin to use rules file from this repository
Once you've set this all up, run:
mvn site
- Make sure that your code passes all pmd, findbugs and checkstyle checks
- Code is covered with unit tests
- Code review is passed