Skip to content

Latest commit

 

History

History
1018 lines (643 loc) · 37.4 KB

File metadata and controls

1018 lines (643 loc) · 37.4 KB

PMD For Eclipse - Release Notes

Installation instructions: https://pmd.github.io/eclipse/

Eclipse Update Site:

????: 7.0.0.v????

This is a minor release.

New and noteworthy

Fixed Issues

API Changes

External Contributions

30-September-2023: 7.0.0.v20230930-1814-rc4

This is a minor release.

New and noteworthy

  • Updated to PMD 7.0.0-rc4
  • Support for Eclipse 2023-09 added
  • Support for Eclipse 2023-06 added
  • Support for Eclipse 2022-09 removed
  • Support for Eclipse 2022-06 removed

Fixed Issues

  • #181: Support eclipse 2023-06
  • #182: Update to PMD 7.0.0-rc4
  • #183: Support eclipse 2023-09

API Changes

  • The deprecated field net.sourceforge.pmd.eclipse.runtime.PMDRuntimeConstants.MAX_VIOLATIONS_DESCRIPTOR has been removed.
  • The following deprecated classes have been removed
    • net.sourceforge.pmd.eclipse.ui.preferences.br.FilterManager
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.FileEditorFactory
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.FloatEditorFactory
  • The following packages are not exported anymore, as they don't exist anymore:
    • net.sourceforge.pmd.cpd.renderer
    • net.sourceforge.pmd.properties.constraints

30-May-2023: 7.0.0.v20230530-1924-rc3

This is a release candidate for the next major release.

New and noteworthy

  • Updated to PMD 7.0.0-rc3

Fixed Issues

  • #171: Radio button for local rules in project properties dialog is missing
  • #178: Message not interpolated in "Show details..." dialog

API Changes

The following packages are no longer public API and are not exported anymore:

  • name.herlin.command
  • net.sourceforge.pmd.eclipse.core.impl
  • net.sourceforge.pmd.eclipse.ui
  • net.sourceforge.pmd.eclipse.ui.actions
  • net.sourceforge.pmd.eclipse.ui.model
  • net.sourceforge.pmd.eclipse.ui.preferences.br
  • net.sourceforge.pmd.eclipse.ui.properties
  • net.sourceforge.pmd.eclipse.ui.views.actions

The following classes have finally been removed. Most of them have been deprecated before:

  • net.sourceforge.pmd.eclipse.ui.preferences.PMDPreferencePage
  • net.sourceforge.pmd.eclipse.ui.preferences.RuleCellModifier
  • net.sourceforge.pmd.eclipse.ui.preferences.RuleDialog
  • net.sourceforge.pmd.eclipse.ui.preferences.RulePropertyCellModifier (was not deprecated)
  • net.sourceforge.pmd.eclipse.ui.preferences.RuleSetExcludeIncludePatternCellModifier (was not deprecated)
  • net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPage
  • net.sourceforge.pmd.eclipse.ui.views.actions.ShowRuleAction (was not deprecated)
  • net.sourceforge.pmd.eclipse.ui.views.rules.RuleEditorView

02-May-2023: 7.0.0.v20230502-1028-rc2

This is a release candidate for the next major release.

New and noteworthy

  • Updated to PMD 7.0.0-rc2

Fixed Issues

  • #176: Update to pmd 7.0.0-rc2
  • #177: Export PMD API

API Changes

The following PMD packages from pmd-core are exported and can be used by other plugins:

  • net.sourceforge.pmd
  • net.sourceforge.pmd.cpd
  • net.sourceforge.pmd.cpd.renderer
  • net.sourceforge.pmd.lang
  • net.sourceforge.pmd.lang.ast
  • net.sourceforge.pmd.lang.document
  • net.sourceforge.pmd.lang.metrics
  • net.sourceforge.pmd.lang.rule
  • net.sourceforge.pmd.lang.rule.xpath
  • net.sourceforge.pmd.properties
  • net.sourceforge.pmd.properties.constraints
  • net.sourceforge.pmd.renderers
  • net.sourceforge.pmd.reporting
  • net.sourceforge.pmd.util

10-April-2023: 7.0.0.v20230410-1321-rc1

This is a release candidate for the next major release.

New and noteworthy

  • Beginning with version 7 of this plugin, only the last four eclipse releases are supported. The plugin might still work with older versions, but it's only developed and tested against the newer versions.

  • The version number of the PMD Eclipse Plugin now is synchronized with the supported and used PMD version. For Bugfixes in the PMD Eclipse Plugin only, a new version is released with the same major, minor, and patch, but a new qualifier only.

  • The minimum required Java version is Java 8.

  • The PMD Designer can't be started from within the plugin anymore. Please install PMD Designer separately when needed.

  • Updated to PMD 7.0.0-rc1

Fixed Issues

  • #122: Update PMD 7 Logo in eclipse pmd plugin
  • #172: Only support the last 4 eclipse releases
  • #174: Upgrade to PMD 7

25-February-2023: 4.44.0.v20230225-1718-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.55.0

28-January-2023: 4.43.0.v20230128-1625-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.54.0

31-December-2022: 4.42.0.v20221231-1753-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.53.0

Fixed Issues

  • #168: Missing constraints in runtime Eclipse workspace (e.g., in Eclipse Modeling Tool since 2022-12 R)
  • #169: Remove unnecessary required bundles

26-November-2022: 4.41.0.v20221126-1044-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.52.0

Fixed Issues

  • #109: Duplicate entries in reports

29-October-2022: 4.40.0.v20221029-0812-r

This is a minor release.

New and noteworthy

  • Java 17 is required for building now. The plugin still works with older eclipse versions with Java 8.
  • Updated to PMD 6.51.0

Fixed Issues

  • #165: Bump tycho from 2.7.4 to 3.0.0

30-September-2022: 4.39.0.v20220930-1439-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.50.0

31-August-2022: 4.38.0.v20220831-1801-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.49.0
  • #164: Add more language modules

30-July-2022: 4.37.0.v20220730-1056-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.48.0

Fixed Issues

  • #163: Bump tycho from 2.6.0 to 2.7.4

25-June-2022: 4.36.0.v20220625-0934-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.47.0

28-May-2022: 4.35.0.v20220528-0951-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.46.0

Fixed Issues

  • #162: Fix deprecations

30-April-2022: 4.34.0.v20220430-0913-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.45.0

27-March-2022: 4.33.0.v20220327-1533-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.44.0

26-February-2022: 4.32.0.v20220226-1008-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.43.0

29-January-2022: 4.31.0.v20220129-0959-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.42.0

27-November-2021: 4.30.0.v20211127-1115-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.41.0

30-October-2021: 4.29.0.v20211030-0859-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.40.0

25-September-2021: 4.28.0.v20210925-1222-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.39.0

28-August-2021: 4.27.0.v20210828-1623-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.38.0

Fixed Issues

  • #159: Error executing command ReviewCode: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index (part 2)

31-July-2021: 4.26.0.v20210731-1741-r

This is a minor release.

New and noteworthy

  • Updated to PMD 6.37.0

Fixed Issues

  • #148: Eclipse nearly-consistently crashes on startup when workspace contains PMD enabled projects
  • #150: Error executing command ReviewCode: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index
  • #153: Not properly disposed SWT resource

API Changes

Deprecated for removal

  • net.sourceforge.pmd.eclipse.plugin.EclipseUtil
  • net.sourceforge.pmd.eclipse.plugin.PMDPlugin.getPluginFolder()
  • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor.isUseTaskMarker()
  • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor.setUseTaskMarker(boolean)
  • net.sourceforge.pmd.eclipse.ui.preferences.br.FilterManager
  • net.sourceforge.pmd.eclipse.util.IOUtil
  • net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor.refreshImages()
  • All classes that couldn't be instantiated because they had a private constructor only are now also final.

26-June-2021: 4.25.0.v20210626-0908

This is a minor release.

New and noteworthy

  • Updated to PMD 6.36.0

Fixed Issues

  • #133: Updates with outdated certificates from orbit
  • #134: Incompatibility between Groovy Eclipse Plugin and PMD Plugin

29-May-2021: 4.24.0.v20210529-0600

This is a minor release.

New and noteworthy

  • Updated to PMD 6.35.0

Fixed Issues

  • #146: Refactor actions to use correct selection

24-April-2021: 4.23.0.v20210424-1524

This is a minor release.

New and noteworthy

Fixed Issues

  • #143: Support JAR Signing for the update site
  • #144: Remove support and scripts for bintray
  • #145: Bump tycho from 1.7.0 to 2.3.0

API Changes

  • The following methods in net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil are deprecated:
    • setExcludePatterns(RuleSet ruleSet, Collection<String> excludePatterns)
    • setIncludePatterns(RuleSet ruleSet, Collection<String> includePatterns)
    • addExcludePatterns(RuleSet ruleSet, Collection<String> activeExclusionPatterns, Collection<String> buildPathExcludePatterns)
    • addIncludePatterns(RuleSet ruleSet, Collection<String> activeInclusionPatterns, Collection<String> buildPathIncludePatterns)
    • addExcludePatterns(RuleSet rs, Collection<String> excludePatterns)
    • addIncludePatterns(RuleSet rs, Collection<String> includePatterns)
    • These methods are not supposed to be public API and will be removed eventually.
  • The property net.sourceforge.pmd.eclipse.runtime.PMDRuntimeConstants.MAX_VIOLATIONS_DESCRIPTOR is deprecated and will be removed.
  • The preference "net.sourceforge.pmd.eclipse.plugin.max_violations_pfpr" is deprecated and will be removed. It was never implemented. The following methods and fields are deprecated:
    • net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences.getMaxViolationsPerFilePerRule()
    • net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences.setMaxViolationsPerFilePerRule(int)
    • net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences.MAX_VIOLATIONS_PFPR_DEFAULT
  • net.sourceforge.pmd.eclipse.runtime.cmd.DetectCutAndPasteCmd.setRenderer(Renderer) is deprecated.
  • Removed usages of deprecated class net.sourceforge.pmd.RuleSets. Therefore the following methods are deprecated now:
    • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor.getRuleSets()
    • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor.setRuleSets(RuleSets)
    • net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties.getProjectRuleSets()
    • net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties.setProjectRuleSets(RuleSets)
    • net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl.getProjectRuleSets()
    • net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl.setProjectRuleSets(RuleSets)
    • net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPageBean.getProjectRuleSets()
    • net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPageBean.setProjectRuleSets(RuleSets)
    • net.sourceforge.pmd.eclipse.ui.properties.UpdateProjectPropertiesCmd.setProjectRuleSets(RuleSets)

27-March-2021: 4.22.0.v20210327-1603

This is a minor release.

New and noteworthy

Fixed Issues

  • #140: Use gh pages for update site

27-February-2021: 4.21.0.v20210227-1131

This is a minor release.

New and noteworthy

  • Updated to PMD 6.32.0

30-January-2021: 4.20.0.v20210130-1744

This is a minor release.

New and noteworthy

  • Updated to PMD 6.31.0

12-December-2020: 4.19.0.v20201212-1115

This is a minor release.

New and noteworthy

  • Updated to PMD 6.30.0

Fixed Issues

  • #135: Fix JavaProjectClassLoader (auxclasspath support) for workspace relative libraries

24-October-2020: 4.18.0.v20201024-1129

This is a minor release.

New and noteworthy

  • Updated to PMD 6.29.0

Fixed Issues

  • #131: Conflict with Jaspersoft Studio plugin (log4j)

Breaking Changes

  • With 4.10.0 usage of log4j has been deprecated. In order to fix #131 these deprecated references have been removed now.

    The following methods/fields in net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences have been removed:

    • getLogLevel()
    • setLogLevel(Level)
    • LOG_LEVEL

External Contributions

26-September-2020: 4.17.0.v20200926-0854

This is a minor release.

New and noteworthy

  • Updated to PMD 6.28.0

31-August-2020: 4.16.0.v20200831-1731

This is a minor release.

New and noteworthy

  • Updated to PMD 6.27.0

25-July-2020: 4.15.0.v20200725-1231

This is a minor release.

New and noteworthy

  • Updated to PMD 6.26.0

27-June-2020: 4.14.0.v20200627-1203

This is a minor release.

New and noteworthy

  • Updated to PMD 6.25.0

Fixed Issues

  • #123: Support external configuration changes
  • #124: No repository found containing: osgi.bundle,org.slf4j.log4j,1.7.2.v20130115-1340
  • #125: NoSuchMethodError SizeBasedTriggeringPolicy.setMaxFileSize(Ljava/lang/String;)V
  • #128: Improve progress report of ReviewCodeCmd

24-May-2020: 4.13.0.v20200524-1630

This is a minor release.

New and noteworthy

  • Updated to PMD 6.24.0

24-April-2020: 4.12.0.v20200424-1006

This is a minor release.

New and noteworthy

  • Updated to PMD 6.23.0

12-March-2020: 4.11.0.v20200312-1712

This is a minor release.

New and noteworthy

  • Updated to PMD 6.22.0

Fixed Issues

API Changes

External Contributions

07-February-2020: 4.10.1.v20200207-1909

This is a bugfix release.

Fixed Issues

  • #114: NPE in PriorityDescriptorCache
  • #115: Missing dependencies when installing
  • #116: SWTError: No more handles

25-January-2020: 4.10.0.v20200125-1230

This is a minor release.

New and noteworthy

  • Updated to PMD 6.21.0

Fixed Issues

  • #108: GenericPropertyDescriptor cannot be cast to NumericPropertyDescriptor

API Changes

  • The minimum eclipse version is now definitely Kepler (4.3) as it is declared in the market place. This is enforced via a target definition.
  • Usage of Log4j is deprecated and is going to be removed. Logback via slf4j is replacing it. Therefore the following methods/fields are deprecated for removal in net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences:
    • getLogLevel()
    • setLogLevel(Level)
    • LOG_LEVEL
    • net.sourceforge.pmd.eclipse.plugin.PMDPlugin#ROOT_LOG_ID
  • The following property editors are deprecated and not used anymore:
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.FileEditorFactory
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.FloatEditorFactory
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.MethodEditorFactory
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.MultiMethodEditorFactory
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.MultiTypeEditorFactory
    • net.sourceforge.pmd.eclipse.ui.preferences.editors.TypeEditorFactory

External Contributions

29-November-2019: 4.9.0.v20191129-1951

This is a minor release.

New and noteworthy

  • Updated to PMD 6.20.0

31-October-2019: 4.8.0.v20191031-1916

This is a minor release.

New and noteworthy

  • Updated PMD to 6.19.0

15-September-2019: 4.7.0.v20190915-0943

This is a minor release.

New and noteworthy

  • Updated PMD to 6.18.0

Fixed Issues

  • #110: PMD markers should be removed on Project->Clean

External Contributions

28-July-2019: 4.6.0.v20190728-0905

This is a minor release.

New and noteworthy

  • Updated PMD to 6.17.0

30-June-2019: 4.5.0.v20190630-0922

This is a minor release.

New and noteworthy

  • 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: Screenshot of PMD Marker Property Page

Fixed Issues

  • #82: Support old PMD icons
  • #84: Rule Name in Tooltip

API Changes

External Contributions

20-June-2019: 4.4.1.v20190620-0836

This is a bugfix release.

Fixed Issues

  • #103: IllegalStateException: Must be called in the UI thread

26-May-2019: 4.4.0.v20190526-1012

This is a minor release.

New and noteworthy

  • Updated PMD to 6.15.0

External Contributions

28-April-2019: 4.3.0.v20190428-0918

This is a minor release.

New and noteworthy

  • Updated PMD to 6.14.0

26-April-2019: 4.2.1.v20190426-1741

This is a bugfix release.

New and noteworthy

  • 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.

Fixed Issues

  • #56: PMD not filtering
  • #85: Gutter Markers not Configured Color
  • #96: Wrong auxclasspath if project is stored outside of workspace

API Changes

  • 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 method reloadDecorators() is deprecated for removal.
  • In net.sourceforge.pmd.eclipse.ui.ShapePainter the method disposeAll() 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 method dumpTo(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 method getOpenFiles() 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 method getPriorityFilterList() is deprecated for removal.
  • The whole class net.sourceforge.pmd.eclipse.util.PriorityUtil is deprecated for removal.

31-March-2019: 4.2.0.v20190331-1136

This is a minor release.

New and noteworthy

  • Updated PMD to 6.13.0

Fixed Issues

  • #94: Changing a project's PMD configuration no longer prompts for build
  • #95: Upgrade to PMD 6.13.0

07-March-2019: 4.1.0.v20190307-2036

This is a minor release.

New and noteworthy

  • 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.

Fixed Issues

  • #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

External Contributions

20-December-2018: 4.0.18.v20181220-1448

New and noteworthy

  • 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.

Fixed Issues

  • #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

External Contributions

01-August-2018: 4.0.17.v20180801-1551

New and noteworthy

  • This is only a bugfix release.

Fixed Issues

  • #52: Eclipse Internal Error - Out of Memory
  • #57: De-duplicate project ruleset when loading the project properties

12-April-2018: 4.0.16.v20180412-0833

New and noteworthy

  • 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.

Fixed Issues

  • #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

External Contributions

24-June-2017: 4.0.15.v20170624-2134

  • Updated PMD to 5.8.0

28-May-2017: 4.0.14.v20170528-1456

  • Fixed Add travis build (issue #21)
  • Fixed NPE while creating ruleset due to hashcode (issue #23)

29-April-2017: 4.0.13.v20170429-1921

  • Updated PMD to 5.6.1

31-March-2017: 4.0.12.v20170331-0813

  • Updated PMD to 5.5.5

28-January-2017: 4.0.11.v20170128-2103

  • Updated PMD to 5.5.3

26-June-2016: 4.0.10.v20160626-1043

  • Fix classpath errors due to multiple version on asm being on the classpath. See also bug #1492.

25-June-2016: 4.0.9.v20160625-2101

  • 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)

04-December-2015: 4.0.8.v20151204-2156

  • 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 by net.sourceforge.pmd.RuleSetWriter. In order to read it back, use net.sourceforge.pmd.RuleSetFactory.

22-May-2015: 4.0.7.v20150522-1709

  • 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)

01-April-2015: 4.0.6.v20150401-1945

  • 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)

05-November-2014: 4.0.5.v20141105-1906

  • Updated PMD to 5.2.1

09-September-2014: 4.0.4.v20140909-1748

  • 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)

27-April-2014: 4.0.3.v20140427-0831

31-October-2013: 4.0.2.v20131031-1124

  • Fixed Plugin does not execute custom xpath rules (bug #1132)
  • Fixed After changing exclude filters violations are not cleared (bug #1148)

11-August-2013: 4.0.1.v20130811-0001

  • 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/

10-May-2013: 4.0.0.v20130510-1000

  • Updated PMD to 5.0.4
  • Fixed False Positive: LocalVariableCouldBeFinal (bug #1075)