integrate PMD into build lifecycle