-
Notifications
You must be signed in to change notification settings - Fork 19
Build PMD and test your new rule
David Renz edited this page Jun 9, 2016
·
13 revisions
-
Install Maven (
brew install mavenif you are using Homebrew) in order to executemvncommands in your CLI. -
To build PMD navigate with your CLI to the root directory of PMD and execute
mvn clean package.
-
After building PMD navigate to
/pmd/pmd-dist/targetand unzippmd-bin-*.*.*-SNAPSHOT.zip. -
Run PMD
pmd-bin-*.*.*-SNAPSHOT/bin/run.sh pmd -d /files/to/analyse -f text -R apex-ruleset.
