Skip to content

dependency: bump pmd.version from 7.20.0 to 7.21.0#18801

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/pmd.version-7.21.0
Closed

dependency: bump pmd.version from 7.20.0 to 7.21.0#18801
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/pmd.version-7.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 30, 2026

Copy link
Copy Markdown
Contributor

Bumps pmd.version from 7.20.0 to 7.21.0.
Updates net.sourceforge.pmd:pmd-java from 7.20.0 to 7.21.0

Release notes

Sourced from net.sourceforge.pmd:pmd-java's releases.

PMD 7.21.0 (30-January-2026)

30-January-2026 - 7.21.0

The PMD team is pleased to announce PMD 7.21.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

🚀️ New: Java 26 Support

This release of PMD brings support for Java 26.

There are no new standard language features.

There is one preview language feature:

In order to analyze a project with PMD that uses these preview language features, you'll need to select the new language version 26-preview:

pmd check --use-version java-26-preview ...

Note: Support for Java 24 preview language features have been removed. The version "24-preview" is no longer available.

Build Requirement is Java 21

From now on, Java 21 or newer is required to build PMD. PMD itself still remains compatible with Java 8, so that it still can be used in a pure Java 8 environment. This allows us to use the latest checkstyle version during the build.

... (truncated)

Commits
  • 4558030 [release] prepare release pmd_releases/7.21.0
  • 8fcf973 Prepare pmd release 7.21.0
  • e91caec [doc] chore: add keywords for auxclasspath in Java documentation (#6429)
  • ed0838b [doc] ADR 3: Clarify javadoc tags (#6392)
  • 840a29f chore: update javadoc internal API tags (#6391)
  • 75fb5eb chore: update javadoc experimental tags (#6390)
  • c4c1edb chore: update javadoc deprecated tags (#6389)
  • e7d9729 chore: update javadoc deprecated tags
  • 8fb286a chore: update javadoc experimental tags
  • 7dcfeea chore: add full description to internalApi javadoc
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-core from 7.20.0 to 7.21.0

Release notes

Sourced from net.sourceforge.pmd:pmd-core's releases.

PMD 7.21.0 (30-January-2026)

30-January-2026 - 7.21.0

The PMD team is pleased to announce PMD 7.21.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

🚀️ New: Java 26 Support

This release of PMD brings support for Java 26.

There are no new standard language features.

There is one preview language feature:

In order to analyze a project with PMD that uses these preview language features, you'll need to select the new language version 26-preview:

pmd check --use-version java-26-preview ...

Note: Support for Java 24 preview language features have been removed. The version "24-preview" is no longer available.

Build Requirement is Java 21

From now on, Java 21 or newer is required to build PMD. PMD itself still remains compatible with Java 8, so that it still can be used in a pure Java 8 environment. This allows us to use the latest checkstyle version during the build.

... (truncated)

Commits
  • 4558030 [release] prepare release pmd_releases/7.21.0
  • 8fcf973 Prepare pmd release 7.21.0
  • e91caec [doc] chore: add keywords for auxclasspath in Java documentation (#6429)
  • ed0838b [doc] ADR 3: Clarify javadoc tags (#6392)
  • 840a29f chore: update javadoc internal API tags (#6391)
  • 75fb5eb chore: update javadoc experimental tags (#6390)
  • c4c1edb chore: update javadoc deprecated tags (#6389)
  • e7d9729 chore: update javadoc deprecated tags
  • 8fb286a chore: update javadoc experimental tags
  • 7dcfeea chore: add full description to internalApi javadoc
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-javascript from 7.20.0 to 7.21.0

Release notes

Sourced from net.sourceforge.pmd:pmd-javascript's releases.

PMD 7.21.0 (30-January-2026)

30-January-2026 - 7.21.0

The PMD team is pleased to announce PMD 7.21.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

🚀️ New: Java 26 Support

This release of PMD brings support for Java 26.

There are no new standard language features.

There is one preview language feature:

In order to analyze a project with PMD that uses these preview language features, you'll need to select the new language version 26-preview:

pmd check --use-version java-26-preview ...

Note: Support for Java 24 preview language features have been removed. The version "24-preview" is no longer available.

Build Requirement is Java 21

From now on, Java 21 or newer is required to build PMD. PMD itself still remains compatible with Java 8, so that it still can be used in a pure Java 8 environment. This allows us to use the latest checkstyle version during the build.

... (truncated)

Commits
  • 4558030 [release] prepare release pmd_releases/7.21.0
  • 8fcf973 Prepare pmd release 7.21.0
  • e91caec [doc] chore: add keywords for auxclasspath in Java documentation (#6429)
  • ed0838b [doc] ADR 3: Clarify javadoc tags (#6392)
  • 840a29f chore: update javadoc internal API tags (#6391)
  • 75fb5eb chore: update javadoc experimental tags (#6390)
  • c4c1edb chore: update javadoc deprecated tags (#6389)
  • e7d9729 chore: update javadoc deprecated tags
  • 8fb286a chore: update javadoc experimental tags
  • 7dcfeea chore: add full description to internalApi javadoc
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-jsp from 7.20.0 to 7.21.0

Release notes

Sourced from net.sourceforge.pmd:pmd-jsp's releases.

PMD 7.21.0 (30-January-2026)

30-January-2026 - 7.21.0

The PMD team is pleased to announce PMD 7.21.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

🚀️ New: Java 26 Support

This release of PMD brings support for Java 26.

There are no new standard language features.

There is one preview language feature:

In order to analyze a project with PMD that uses these preview language features, you'll need to select the new language version 26-preview:

pmd check --use-version java-26-preview ...

Note: Support for Java 24 preview language features have been removed. The version "24-preview" is no longer available.

Build Requirement is Java 21

From now on, Java 21 or newer is required to build PMD. PMD itself still remains compatible with Java 8, so that it still can be used in a pure Java 8 environment. This allows us to use the latest checkstyle version during the build.

... (truncated)

Commits
  • 4558030 [release] prepare release pmd_releases/7.21.0
  • 8fcf973 Prepare pmd release 7.21.0
  • e91caec [doc] chore: add keywords for auxclasspath in Java documentation (#6429)
  • ed0838b [doc] ADR 3: Clarify javadoc tags (#6392)
  • 840a29f chore: update javadoc internal API tags (#6391)
  • 75fb5eb chore: update javadoc experimental tags (#6390)
  • c4c1edb chore: update javadoc deprecated tags (#6389)
  • e7d9729 chore: update javadoc deprecated tags
  • 8fb286a chore: update javadoc experimental tags
  • 7dcfeea chore: add full description to internalApi javadoc
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `pmd.version` from 7.20.0 to 7.21.0.

Updates `net.sourceforge.pmd:pmd-java` from 7.20.0 to 7.21.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.20.0...pmd_releases/7.21.0)

Updates `net.sourceforge.pmd:pmd-core` from 7.20.0 to 7.21.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.20.0...pmd_releases/7.21.0)

Updates `net.sourceforge.pmd:pmd-javascript` from 7.20.0 to 7.21.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.20.0...pmd_releases/7.21.0)

Updates `net.sourceforge.pmd:pmd-jsp` from 7.20.0 to 7.21.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.20.0...pmd_releases/7.21.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-version: 7.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-version: 7.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
  dependency-version: 7.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
  dependency-version: 7.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 30, 2026
@ZaheerAhmadDev

ZaheerAhmadDev commented Jan 31, 2026

Copy link
Copy Markdown
Contributor

@romani,
Hi, I noticed CI is fail due to PMD 7.21.0 rule changes
(Rule:PublicMemberInNonPublicType).
I can fix these violations and update the PR branch,
so CI passes. Is it okay if I do that?
Mostly error are usage of public method in non-public-type.
If we the make class public the CI will be green.

@romani

romani commented Jan 31, 2026

Copy link
Copy Markdown
Member

Yes, please create new PR with version bump and fixes

@ZaheerAhmadDev

Copy link
Copy Markdown
Contributor

Thanks for confirming.
I’ll create a new PR that bumps PMD to 7.21.0 and will includes the required fixes.

ZaheerAhmadDev added a commit to ZaheerAhmadDev/checkstyle that referenced this pull request Jan 31, 2026
ZaheerAhmadDev added a commit to ZaheerAhmadDev/checkstyle that referenced this pull request Feb 1, 2026
ZaheerAhmadDev added a commit to ZaheerAhmadDev/checkstyle that referenced this pull request Feb 1, 2026
ZaheerAhmadDev added a commit to ZaheerAhmadDev/checkstyle that referenced this pull request Feb 1, 2026
ZaheerAhmadDev added a commit to ZaheerAhmadDev/checkstyle that referenced this pull request Feb 1, 2026
romani pushed a commit that referenced this pull request Feb 1, 2026
@romani

romani commented Feb 1, 2026

Copy link
Copy Markdown
Member

Merged at #18808

@romani romani closed this Feb 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Feb 1, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/maven/pmd.version-7.21.0 branch February 1, 2026 23:35
@github-actions github-actions Bot added this to the 13.1.1 milestone Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved dependencies Pull requests that update a dependency file java Pull requests that update Java code miscellaneous

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants