Release Notes

Version 3.18.0

Release Date: ??

JIRA: Release Notes - Maven PMD Plugin - Version 3.18.0

GitHub: https://github.com/apache/maven-pmd-plugin/releases/tag/maven-pmd-plugin-3.18.0

🚀 New features and improvements

🐛 Bug Fixes

  • [SECURITY] Fix Partial Path Traversal Vulnerability (#80) @JLLeitschuh

📦 Dependency updates

Version 3.17.0

Release Date: 2022-05-31

JIRA: Release Notes - Maven PMD Plugin - Version 3.17.0

GitHub: https://github.com/apache/maven-pmd-plugin/releases/tag/maven-pmd-plugin-3.17.0

🚀 New features and improvements

  • MPMD-309 - Add configuration option to show suppressed violations (#59) @adangel
  • MPMD-332 - Support Java 18 (#63) @adangel

🐛 Bug Fixes

  • MPMD-334 - Source Encoding parameter is ignored (#64) @laoseth
  • MPMD-342 - No debug log message issued when empty report shall be ski… (#69) @michael-o

📝 Documentation updates

  • MPMD-333 - Add release notes documentation (#61) @adangel

👻 Maintenance

  • MPMD-336 - Replace deprecated calls to PMD (#66) @adangel

📦 Dependency updates

  • MPMD-329 - Upgrade to PMD 6.45.0
  • MPMD-330 - Upgrade Maven Parent to 35 (#60) @adangel
  • MPMD-331 - Require Maven 3.2.5+ (#60) @adangel
  • MPMD-337 - Upgrade Maven Parent to 36 (#67) @adangel
  • MPMD-338 - Upgrade to Doxia/Doxia Sitetools to 1.11.1
  • MPMD-339 - Upgrade plugins in ITs
  • MPMD-340 - Upgrade Maven Reporting API/Impl to 3.1.0
  • MPMD-341 - Upgrade Maven Plugin Test Harness to 3.3.0
  • MPMD-343 - Upgrade to PMD 6.46.0 (#71) @adangel
  • Bump release-drafter/release-drafter from 5.19.0 to 5.20.0 (#68) @dependabot
  • Bump release-drafter/release-drafter from 5.18.1 to 5.19.0 (#58) @dependabot
  • Bump commons-io from 2.6 to 2.7 in /src/it/MPMD-318-auxclasspath-includeTests/module-a (#65) @dependabot
  • Bump slf4jVersion from 1.7.25 to 1.7.36 (#53) @dependabot

Version 3.16.0

Release Date: 2022-02-05

JIRA: Release Notes - Maven PMD Plugin - Version 3.16.0

GitHub: https://github.com/apache/maven-pmd-plugin/releases/tag/maven-pmd-plugin-3.16.0

🐛 Bug Fixes

  • MPMD-325 - Could not find class due to IncompatibleClassChangeError warning
  • MPMD-324 - Ruleset URLs have hyphen replaced with forwardslash
  • MPMD-323 - ResourceManager should use project base dir instead of pom location

🔧 Build

🚀 New features and improvements

📦 Dependency updates

  • MPMD-326 - Set Maven 3.1.1 as minimum version

Version 3.15.0

Release Date: 2021-09-06

JIRA: Release Notes - Maven PMD Plugin - Version 3.15.0

🐛 Bug Fixes

  • MPMD-314 - PMD report extension not set correctly for custom report class
  • MPMD-315 - Maven PMD Plugin fails on Java 16: Unsupported targetJdk value ‘16’.
  • MPMD-317 - NoClassDefFoundError for provided classes
  • MPMD-318 - Incorrect aux classpath if ‘includeTests’ set to true
  • MPMD-320 - Error when using toolchain and spaces in repository path

🚀 New features and improvements

  • MPMD-283 - Create a real aggregate goal
  • MPMD-311 - Improve excludeFromFailureFile docs
  • MPMD-313 - Improve <jdkToolchain> parameter description
  • MPMD-321 - Display PMD version that is being used also for pmd:pmd and pmd:cpd
  • MPMD-322 - Display when PMD/CPD is skipped

🔧 Build

  • MPMD-319 - Add GitHub Action to confirm build PR

📦 Dependency updates

Version 3.14.0

Release Date: 2020-10-24

JIRA: Release Notes - Maven PMD Plugin - Version 3.14.0

🐛 Bug Fixes

  • MPMD-297 - Classloader not being closed after PMD run
  • MPMD-300 - Unable to format output with custom renderer (CodeClimateRenderer)
  • MPMD-305 - CPD goal does not support txt as a format parameter
  • MPMD-307 - NPE when using custom rule

🚀 New features and improvements

  • MPMD-290 - Add CPD example for C#
  • MPMD-301 - make build Reproducible
  • MPMD-304 - maven-pmd-plugin should be toolchains-aware

📦 Dependency updates

  • MPMD-298 - Upgrade Doxia Sitetools to 1.9.2 to remove dependency on Struts
  • MPMD-302 - Upgrade to PMD 6.29.0

Version 3.13.0

Release Date: 2020-01-25

JIRA: Release Notes - Maven PMD Plugin - Version 3.13.0

🐛 Bug Fixes

  • MPMD-288 - NullPointerException when File.list() returns null
  • MPMD-289 - check: unable to find pmd.xml
  • MPMD-292 - PMD Log is not always integrated into maven log
  • MPMD-295 - Maven PMD Plugin fails on Java 13: Unsupported targetJdk value ‘13’

🚀 New features and improvements

  • MPMD-225 - Create report even if no warnings have been found by default
  • MPMD-269 - Display PMD version that is being used
  • MPMD-296 - Copy ruleset files into a subdirectory of target

📝 Documentation updates

  • MPMD-241 - Document the version relationship between plugin and pmd
  • MPMD-287 - Add additional contribution information for GitHub

🔧 Build

  • MPMD-285 - remove pluginTools version override for build (which block reproducible build…)
  • MPMD-293 - Fix integration test builds on jenkins

📦 Dependency updates

Version 3.12.0

Release Date: 2019-04-11

JIRA: Release Notes - Maven PMD Plugin - Version 3.12.0

🐛 Bug Fixes

  • MPMD-277 - Plugin tries to download local submodules from repo

🚀 New features and improvements

  • MPMD-280 - Support targetJdk 12
  • MPMD-281 - Display found violations grouped by priority
  • MPMD-282 - Add rule name to HTML report

📝 Documentation updates

  • MPMD-279 - Improve documentation of maxAllowedViolations

📦 Dependency updates

Version 3.11.0

Release Date: 2018-10-23

JIRA: Release Notes - Maven PMD Plugin - Version 3.11.0

🐛 Bug Fixes

  • MPMD-266 - Aggregate report in multi-module projects doesn't use correct auxclasspath
  • MPMD-268 - Missing warnings about deprecated rules

🚀 New features and improvements

  • MPMD-270 - JDK 11 compatibility
  • MPMD-272 - Support ignoreAnnotations options for CPD

📦 Dependency updates

Version 3.10.0

Release Date: 2018-05-29

JIRA: Release Notes - Maven PMD Plugin - Version 3.10.0

🐛 Bug Fixes

  • MPMD-253 - PMD links to java Xref fail in aggregated report
  • MPMD-257 - Allow to disable analysisCache completely, avoid warnings
  • MPMD-258 - PMD output multiplies with every module in multi module projects
  • MPMD-259 - FileNotFoundException with analysisCache=true, includeTests=true and no test classes

🚀 New features and improvements

  • MPMD-256 - Add maxAllowedViolations property for PMD
  • MPMD-264 - Add rule priority to HTML report

📝 Documentation updates

  • MPMD-263 - Add documentation information for GitHub

📦 Dependency updates

  • MPMD-252 - Upgrade parent to 31
  • MPMD-261 - Upgrade to PMD 6.4.0
  • MPMD-262 - Upgrade maven-surefire/failsafe-plugin 2.21.0

Version 3.9.0

Release Date: 2018-01-21

JIRA: Release Notes - Maven PMD Plugin - Version 3.9.0

💥 Breaking changes

  • MPMD-240 - Migrate plugin to Maven 3.0

🐛 Bug Fixes

  • MPMD-244 - Maven PMD plugin fails but no reason is given for the failure
  • MPMD-245 - targetJdk property should use maven.compiler.source by default
  • MPMD-248 - cpd-check goal leaks file handle
  • MPMD-249 - The plugin documentation point to old (deprecated) rulesets
  • MPMD-251 - Invalid report XML is generated with includeXmlInSite=true

🚀 New features and improvements

  • MPMD-246 - Output details of processing errors

📝 Documentation updates

  • MPMD-239 - Add documentation about upgrading PMD version at runtime

🔧 Build

  • MPMD-235 - Javadoc errors when building with java8

📦 Dependency updates