插件安装地址https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/
详询:https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
If you have previously installed a version of the PMD Eclipse plugin prior to November 2012, then you should remove/uninstall it first.
To install the PMD for Eclipse plugin:
-
In Eclipse, click on Help -> Install New Software...
-
Click on Add..
-
Enter the following:
- Name: PMD for Eclipse Update Site
- URL: https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/
and click OK.
-
You should see PMD for Eclipse 4. Select the checkbox next to it and click Next >.
-
You'll need to accept the license and confirm you want to install a plugin that is not digitally signed. Go ahead and install it anyway.
-
Restart eclipse.