I'm installing Eclipse Juno for Java Developers for a class, and we've been asked to install the PMD plugin. We have our own xml file with the rules and we have to replace the default rules for the plugin. When I browse and select the file, the import tool doesn't allow me to press 'ok'.
Any suggestions? I'm pretty new to this stuff.
Installation ✏️️ PMD is distributed as a zip archive, which includes both PMD and CPD. You can download the latest binary distribution from the github releases page. Unzip it into any directory, optionally add the bin subdirectory in your PATH , and you're good to go!
PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, Salesforce.com A... Source Code Analyzer. Last Updated on Friday, October 7, 2022 - 09:57 by Andreas Dangel.
It's a problem with the plugin 4, try with 3. Import your rules and you can after that do an update to 4.
You have to set it in the Eclipse configuration of PMD: Window
-> Preferences
-> PMD
-> Rules Configuration
-> Import Rules Set
Before you can do this the PMD plug-in itself must be installed: Help
-> Eclipse Marketplace...
-> Search for PMD, install it and restart eclipse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With