Skip to content

Build PMD and test your new rule

David Renz edited this page May 30, 2016 · 13 revisions
  • Install Maven (brew install maven if you are using Homebrew)
  • To build PMD navigate to the root directory of PMD and execute mvn clean package
  • After building PMD navigate to /pmd/pmd-dist/target and unzip pmd-bin-5.5.0-SNAPSHOT.zip
  • Run PMD pmd-bin-5.5.0-SNAPSHOT/bin/run.sh pmd -d /files/to/analyse -f text -R apex-ruleset
Clone this wiki locally