Skip to content

Build PMD and test your new rule

David Renz edited this page May 30, 2016 · 13 revisions
  1. Install Maven (brew install maven if you are using Homebrew).

  2. To build PMD navigate to the root directory of PMD and execute mvn clean package .

  3. After building PMD navigate to /pmd/pmd-dist/target and unzip pmd-bin-5.5.0-SNAPSHOT.zip.

  4. 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