Skip to content

Releases: pmd/pmd-eclipse-plugin

PMD For Eclipse 7.1.0.v20240426-0821-r

26 Apr 08:32
7.1.0.v20240426-0821-r
7c16376
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

This is a minor release.

New and noteworthy

  • Updated to PMD 7.1.0

Fixed Issues

  • #191: Rule Configuration Pref Page - PropertyDescriptor cannot be cast to Comparable
  • #192: Add japicmp

API Changes

Deprecations

The following classes have been deprecated for removal. Either they were not intended to be public API at all
or they were used to support the UI for rule configuration. With the switch to PMD 7.0.0, these editor
factories are not used anymore.

  • net.sourceforge.pmd.eclipse.ui.preferences.editors.AbstractEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.AbstractMultiValueEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.AbstractNumericEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.AbstractRealNumberEditor
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.BooleanEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.CharacterEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.DoubleEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.EnumerationEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.FilePicker
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.IntegerEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.MethodPicker
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.MultiEnumerationEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.MultiIntegerEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.MultiStringEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.RegexEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.StringEditorFactory
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.SWTUtil
  • net.sourceforge.pmd.eclipse.ui.preferences.editors.TypeText

The following members have been deprecated for removal:

  • net.sourceforge.pmd.eclipse.ui.dialogs.NewPropertyDialog#NewPropertyDialog(Shell, Map<Class<?>, EditorFactory<?>>, PropertySource, ValueChangeListener)
  • net.sourceforge.pmd.eclipse.ui.dialogs.NewPropertyDialog#NewPropertyDialog(Shell, Map<Class<?>, EditorFactory<?>>, Rule, PropertyDescriptor<?>, ValueChangeListener)
  • net.sourceforge.pmd.eclipse.ui.dialogs.NewPropertyDialog#withOnly(Map<Class<?>, EditorFactory<?>>, Class<?>[])
  • net.sourceforge.pmd.eclipse.ui.preferences.panelmanagers.AbstractRulePanelManager.show(TypeText, Class<?>)
  • net.sourceforge.pmd.eclipse.ui.preferences.panelmanagers.FormArranger#FormArranger(Composite, Map<Class<?>, EditorFactory<?>>, ValueChangeListener, SizeChangeListener)
  • net.sourceforge.pmd.eclipse.ui.preferences.panelmanagers.PerRulePropertyPanelManager#EDITOR_FACTORIES_BY_PROPERTY_TYPE

See the javadoc for more info and any possible alternatives if available.

PMD For Eclipse 7.0.0.v20240322-0920-r

22 Mar 09:31
7.0.0.v20240322-0920-r
9f87925
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

This is a major release.

New and noteworthy

  • Updated to PMD 7.0.0
  • Support for Eclipse 2024-03 added
  • Support for Eclipse 2023-12 added
  • Support for Eclipse 2023-03 removed
  • Support for Eclipse 2022-12 removed

Fixed Issues

  • #185: Bump ch.qos.logback:logback-classic from 1.2.3 to 1.2.13
  • #186: Support eclipse 2023-12
  • #187: Bump tycho from 3.0.4 to 4.0.4
  • #190: Support eclipse 2024-03

API Changes

Due to the updated PMD version, there are a couple of incompatible changes, like changed packages.
For the details, see the release notes of PMD.

The following members have been removed, even though they have not been deprecated before:

  • net.sourceforge.pmd.eclipse.ui.preferences.panelmanagers.Configuratio#EXCLUDED_RULE_PROPERTIES

The following deprecated members have been removed:

  • net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl#getProjectRuleSets()
  • net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl#setProjectRuleSets(RuleSets)
  • net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties#getProjectRuleSets()
  • net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties#setProjectRuleSets(RuleSets)
  • net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPageBean#getProjectRuleSets()
  • net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPageBean#setProjectRuleSets(RuleSets)
  • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor#getRuleSets()
  • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor#setRuleSets(RuleSets)
  • net.sourceforge.pmd.eclipse.ui.properties.UpdateProjectPropertiesCmd#setProjectRuleSets(RuleSets)
  • net.sourceforge.pmd.eclipse.plugin.PMDPlugin#ROOT_LOG_ID
  • net.sourceforge.pmd.eclipse.plugin.PMDPlugin#setJavaClassLoader(PMDConfiguration, IProject)
  • net.sourceforge.pmd.eclipse.plugin.PMDPlugin#getPluginFolder()
  • net.sourceforge.pmd.eclipse.plugin.PMDPlugin#getOpenFiles()
  • net.sourceforge.pmd.eclipse.plugin.PMDPlugin#getPriorityValues()
  • net.sourceforge.pmd.eclipse.plugin.UISettings#createRuleMarkerIcons(Display)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#markerFilenameFor(RulePriority)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#relativeMarkerFilenameFor(RulePriority)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#reloadPriorities()
  • net.sourceforge.pmd.eclipse.plugin.UISettings#markerImgDescriptorsByPriority()
  • net.sourceforge.pmd.eclipse.plugin.UISettings#markerDescriptorFor(RulePriority)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#descriptionFor(RulePriority)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#descriptorFor(RulePriority)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#priorityFor(int)
  • net.sourceforge.pmd.eclipse.plugin.UISettings#getPriorityLabels()
  • net.sourceforge.pmd.eclipse.runtime.cmd.AbstractDefaultCommand#isJavaFile(IFile)
  • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor#isUseTaskMarker()
  • net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor#setUseTaskMarker(boolean)
  • net.sourceforge.pmd.eclipse.runtime.cmd.ReviewCodeCmd#setTaskMarker(boolean)
  • net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences#MAX_VIOLATIONS_PFPR_DEFAULT
  • net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences#getMaxViolationsPerFilePerRule()
  • net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences#setMaxViolationsPerFilePerRule(int)
  • net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl#getResolvedRuleSetFile()
  • net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties#getResolvedRuleSetFile()
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#addExcludePatterns(RuleSet, Collection)
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#addExcludePatterns(RuleSet, Collection, Collection)
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#setExcludePatterns(RuleSet, Collection)
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#addIncludePatterns(RuleSet, Collection)
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#addIncludePatterns(RuleSet, Collection, Collection)
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#setIncludePatterns(RuleSet, Collection)
  • net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil#addRuleSetByReference(RuleSet, RuleSet, boolean)
  • net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor#getImageDescriptor()
  • net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor#getImage(Display)
  • net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor#getImage(Display, int)
  • net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor#refreshImages()
  • net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptorCache#dumpTo(PrintStream)
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#PriorityFilter()
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#addPriorityToList(Integer)
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#removePriorityFromList(Integer)
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#setPriorityFilterListFromString(String, String)
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#getPriorityFilterListAsString(String)
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#getPriorityFilterList()
  • net.sourceforge.pmd.eclipse.ui.views.PriorityFilter#setPriorityFilterList(List)
  • net.sourceforge.pmd.eclipse.ui.views.ViolationOverview#getPriorityFilterList()
  • net.sourceforge.pmd.eclipse.ui.RuleLabelDecorator#reloadDecorators()
  • net.sourceforge.pmd.eclipse.ui.ShapePainter#disposeAll()

The following deprecated classes have been removed:

  • name.herlin.command.AbstractProcessableCommand
  • name.herlin.command.Command
  • name.herlin.command.CommandException
  • name.herlin.command.CommandProcessor
  • name.herlin.command.CommandProcessorStrategy
  • name.herlin.command.DefaultCommandProcessor
  • name.herlin.command.DefaultCommandProcessorStrategy
  • name.herlin.command.Timer
  • name.herlin.command.UnregisteredCommandException
  • name.herlin.command.UnsetInputPropertiesException
  • net.sourceforge.pmd.eclipse.plugin.EclipseUtil
  • net.sourceforge.pmd.eclipse.ui.views.AbstractViolationLabelProvider
  • net.sourceforge.pmd.eclipse.ui.preferences.RulePropertiesContentProvider
  • net.sourceforge.pmd.eclipse.ui.preferences.RulePropertyLabelProvider (not previously deprecated, but unused)
  • net.sourceforge.pmd.eclipse.ui.preferences.RuleProperty
  • net.sourceforge.pmd.eclipse.util.PriorityUtil
  • net.sourceforge.pmd.eclipse.util.IOUtil

PMD For Eclipse 7.0.0.v20230930-1814-rc4

30 Sep 18:28
7.0.0.v20230930-1814-rc4
d59fbd9
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

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

PMD For Eclipse 7.0.0.v20230530-1924-rc3

30 May 19:34
7.0.0.v20230530-1924-rc3
3d556f2
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

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

PMD For Eclipse 7.0.0.v20230502-1028-rc2

02 May 10:42
7.0.0.v20230502-1028-rc2
b0f2293
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

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

PMD For Eclipse 7.0.0.v20230410-1321-rc1

10 Apr 13:34
7.0.0.v20230410-1321-rc1
40a7810
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

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

PMD For Eclipse 4.44.0.v20230225-1718-r

25 Feb 17:32
4.44.0.v20230225-1718-r
07448e9
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

This is a minor release.

New and noteworthy

  • Updated to PMD 6.55.0

PMD For Eclipse 4.43.0.v20230128-1625-r

28 Jan 16:37
4.43.0.v20230128-1625-r
69f8fb0
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

This is a minor release.

New and noteworthy

  • Updated to PMD 6.54.0

PMD For Eclipse 4.42.0.v20221231-1753-r

31 Dec 18:06
4.42.0.v20221231-1753-r
6d5736c
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

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

PMD For Eclipse 4.41.0.v20221126-1044-r

26 Nov 10:56
4.41.0.v20221126-1044-r
fcf93ff
Compare
Choose a tag to compare

A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/

This is a minor release.

New and noteworthy

  • Updated to PMD 6.52.0

Fixed Issues

  • #109: Duplicate entries in reports