Installation instructions: https://pmd.github.io/eclipse/
Eclipse Update Site:
- Releases: https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/
- Snapshots: https://dl.bintray.com/pmd/pmd-eclipse-plugin/snapshots/updates/
This is a bugfix release.
This is a minor release.
- Updated PMD to 6.17.0
This is a minor release.
-
Updated PMD to 6.16.0
-
PMD specific marker property page: This version adds a PMD specific property page to the marker properties which shows more information from the rule violation and rule itself. For more information, see Marker Property Page (wiki).
-
Marker Icons: Instead of the geometrical figures, the old icons for the PMD markers can be selected again:
This is a bugfix release.
- #103: IllegalStateException: Must be called in the UI thread
This is a minor release.
- Updated PMD to 6.15.0
- #100: Add missing french translations - Nicolas HENRY
This is a minor release.
- Updated PMD to 6.14.0
This is a bugfix release.
- Filtering by priority has been revamped. In both views "Violation Outline" and "Violation Overview" you can enable and disable the priorities. Changes in one view affects the other view as well as the markers displayed in the files. The selected priorities are stored in the preferences. PMD is not rerun when the priority filter is changed. The markers are only hidden instead. Changing the priority filter therefore affects the settings under General, Editors, Text Editors, Annotation for PMD Marker Annotations.
- #56: PMD not filtering
- #85: Gutter Markers not Configured Color
- #96: Wrong auxclasspath if project is stored outside of workspace
- In
net.sourceforge.pmd.eclipse.plugin.UISettings
the following methods are deprecated for removal:reloadPriorities()
markerFilenameFor(RulePriority)
relativeMarkerFilenameFor(RulePriority)
markerDescriptorFor(RulePriority)
markerImgDescriptorsByPriority()
createRuleMarkerIcons(Display)
descriptionFor(RulePriority)
descriptorFor(RulePriority)
priorityFor(int)
getPriorityLabels()
- In
net.sourceforge.pmd.eclipse.ui.RuleLabelDecorator
the methodreloadDecorators()
is deprecated for removal. - In
net.sourceforge.pmd.eclipse.ui.ShapePainter
the methoddisposeAll()
is deprecated for removal. - In
net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor
the following methods are deprecated for removal:getImageDescriptor()
getImage(Display)
getImage(Display, int)
- In
net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptorCache
the methoddumpTo(PrintStream)
is deprecated for removal. - The whole class
net.sourceforge.pmd.eclipse.ui.views.AbstractViolationLabelProvider
is deprecated for removal. - In
net.sourceforge.pmd.eclipse.plugin.PMDPlugin
the methodgetOpenFiles()
is deprecated for removal. - The class
net.sourceforge.pmd.eclipse.ui.views.PriorityFilter
must not be instantiated directly in the future. Therefore the public constructor has been deprecated. Additionally the following methods are deprecated for removal:setPriorityFilterList(List<Integer>)
getPriorityFilterList()
addPriorityToList(Integer)
removePriorityFromList(Integer)
setPriorityFilterListFromString(String, String)
getPriorityFilterListAsString(String)
- In
net.sourceforge.pmd.eclipse.ui.views.ViolationOverview
the methodgetPriorityFilterList()
is deprecated for removal. - The whole class
net.sourceforge.pmd.eclipse.util.PriorityUtil
is deprecated for removal.
This is a minor release.
- Updated PMD to 6.13.0
This is a minor release.
- Updated PMD to 6.12.0
- The package
name.herlin
is deprecated and will be removed with the next major version of the plugin. - PMD markers are now problem markers again. This means, that rule violations appear in the Problem View. The project property "Handle high priority violations as Eclipse errors" now works again.
- The PMD markers are now also visible on the overview ruler. They can be customized or disabled via workspace preferences, General, Editors, Text Editors, Annotations.
- In PMD's general preferences, there is a new option "Determine applicable file types automatically". This new option is enabled by default. When enabled, only the files of the languages, for which rules are active, are considered. This is a fix for bug #88.
- #54: "violationsAsErrors" is completely ineffective
- #70: UnsupportedOperationException opening Rule Configuration
- #76: Global rule management is saved even if cancelled
- #78: Project properties cannot be loaded anymore
- #83: "Restore defaults" button in PMD preferences is always deactivated
- #86: Add Markers next to Scroll bar
- #88: PMD is executed for all file types regardless of active rules
- #89: Upgrade to PMD 6.12.0
- #1359: PMD violations in eclipse should be shown on editor by scrollbar
- #75: Prevent UnsupportedOperationException #70 - phoenix384
- Updated PMD to 6.10.0
- Eclipse SimRel 2018-09 and 2018-12 is supported.
To do this, the plugin doesn't expose log4j for other plugins anymore.
(the package
org.apache.log4j
is not exported anymore). In case you used this in a fragment, you should now use the eclipse platform logging facilities.
- #48: Upgrade to PMD 6.10.0
- #65: Support multiple rulesets
- #67: PMD's XML Schemas should be registered in XML Catalog
- #73: Support openjdk 11 as runtime
- #51: Allow multiple ruleset files - Phillip Krall
- #53: README: markdown, fix links - Lars Hvam
- #60: Update to PMD 6.7.0 - Jan
- #61: Support Eclipse SimRel 2018-09 - jftsunami
- #63: Minor changes - jftsunami
- #66: Multi ruleset files - - Phillip Krall
- This is only a bugfix release.
- #52: Eclipse Internal Error - Out of Memory
- #57: De-duplicate project ruleset when loading the project properties
- Updated PMD to 6.2.0
- At least Java 1.7 is required now.
- Two new options under Preferences: "Show PMD violations overview when checking code" and "Show PMD violations outline when checking code". If these options are checked, then theses PMD views are shown automatically, when PMD check is executed for a project. This behaves similar like "Show PMD perspective", but just doesn't switch the current perspective.
- PMD is now only executed automatically, if the option "Check code after saving" is enabled. This allows to simply disable automatic PMD checks temporarily. Executing PMD via the project's context menu "Check Code" is not affected and can still be used to manually execute PMD to update the markers.
- #20: category.xml maybe broken
- #29: Processing errors without cause
- #32: Upgrade PMD to 6.2.0
- #42: Marker colors not updated in all views after change
- #43: Update unit tests to use new ruleset categories
- #46: PMD Preferences are overridden and lost
- #25: [core] Typesafe properties - Clément Fournier
- #26: Updated french translations - Clément Fournier
- #37: Global Priority Filter for Violations Overview/Outline - Phillip Krall
- #39: Show PMD violations overview/outline views when checking code - Phillip Krall
- #40: Only execute PMD when check on save is enabled - Phillip Krall
- #41: Update all views after marker color changed - Phillip Krall
- #44: Fix saving preferences for violation overview/outline - Phillip Krall
- Updated PMD to 5.8.0
- Updated PMD to 5.6.1
- Updated PMD to 5.5.5
- Updated PMD to 5.5.3
- Fix classpath errors due to multiple version on asm being on the classpath. See also bug #1492.
- Updated PMD to 5.5.0
- Fixed Violation Overview + Outline don't work for Non-Java Rule violations (issue #13, pull request #14)
- squid:S1854 - Dead stores should be removed (pull request #17)
- squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order (pull request #18)
- Fixed Executing Rule.start() (bug #974)
- Fixed Cannot create reports for non-Java projects (bug #1473)
- Fixed Check Code doesn't work from project root in non-java projects (bug #1474)
- Fixed Not Able to enable PMD for Apex in Eclipse (bug #1483)
- Updated PMD to 5.3.6
- Fixed PMD-Plugin does not work if run with IBM JDK 1.7.0 (bug #1419)
- Fixed PMD Eclipse is not executed if "Full build" is not enabled (bug #1435)
- Fixed PMD is changing encoding of source code (bug #1386)
API Changes:
- The package
net.sourceforge.pmd.eclipse.core.rulesets
including sub-packages has been removed from the plugin. It won't export these package anymore. The purpose of this package was probably to provide a way of serializing and deserializing rulesets. As only the writer has been implemented and the reader was missing, it's not useful. If you need to read/write rulesets, use the core PMD functionality provided bynet.sourceforge.pmd.RuleSetWriter
. In order to read it back, usenet.sourceforge.pmd.RuleSetFactory
.
- Updated PMD to 5.3.2
- Fixed Unable to check more than one class without FullBuildEnabled (#1352)
- Fixed Manually checking code with PMD only works if PMD is activated for the project (bug #1351)
- Fixed Check code after saving runs PMD unnecessarily (bug #1350)
- Updated PMD to 5.3.0
- Updated PMD to 5.2.3 (pull request #4)
- Some performance improvements when using a BUNCH of projects with pmd settings (pull request #3)
- Fixed global rule management persistence broken (bug #1248)
- More PMD plugin performance updates (pull request #5)
- Updated PMD to 5.2.1
- Updated PMD to 5.1.3
- Fix packaging (pull request #1, bug #1129)
- Fixed Code review in Luna always throws "An internal error occurred during: "ReviewCode"." (bug #1210)
- Fixed NPE when selecting a Working Set in Eclipse (bug #1152)
- Fixed Eclipse plugin don't apply global rule configuration after restart (bug #1184)
- Fixed "Use type resolution" does not work (bug #1145)
- Fixed NullPointerException when selecting/unselecting items in the Projects Properties view (bug #1242)
- Fixed sizing of first column in Rule Configuration (bug #1237)
- Fixed Violations outline should remember column widths (bug #1240)
- Fixed Rule Configuration window does not use extra horizontal space (bug #1238)
- Updated PMD to 5.1.1
- Support workspace-relative path in ruleSetFile property (pull request #36, feature request #1133)
- Update Updatesite for Kepler and PMD 5.1.0 (feature request #1179)
- "Generate Abstract Syntax Tree" always run in JDK 1.4 mode (bug #1174)
- Fixed Plugin does not execute custom xpath rules (bug #1132)
- Fixed After changing exclude filters violations are not cleared (bug #1148)
- Updated PMD to 5.0.5
- Fixed Build path exclusions not honored (bug #988)
- Fixed right click to add reviewed comment missing (bug #1052)
- Fixed PMD Eclipse: How to ... documentation missing (bug #1061)
- Fixed Properties page: "Rule-Selection" should be disabled if project-local config is selected (bug #1070)
- Fixed Violations are reported multiple times (bug #1071)
- Fixed Exclude pattern does not work (bug #1079)
- Fixed SWTError: No more handles on Violation Outline View (bug #1096)
- Fixed Selecting non-duplicates during import doesn't work. (bug #1110)
- Fixed Eclipse log file will not be filled (bug #1112)
- Fixed PMD Eclipse plugin doesn't analyze project if it has non-existing source folders (bug #1116)
- Fixed An internal error occurred during: "RenderReport" (bug #1117)
- The official update site is now: https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
- Updated PMD to 5.0.4
- Fixed False Positive: LocalVariableCouldBeFinal (bug #1075)