-
Notifications
You must be signed in to change notification settings - Fork 18
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 unzippmd-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
.