GeezerVison is showing github.com — Create new release compatible with Java 25 · Issue #659 · apache/maven-pmd-plugin
Create new release compatible with Java 25 #659
Description
New feature, improvement proposal
Would it make sense to create a new release of maven-pmd-plugin?
Currently, the latest version 3.27.0 pulls in PMD version 7.14.0 which does not support Java 25.
This results in the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.27.0:pmd (pmd) on project test: Failed to determine whether report can be generated: Unsupported targetJdk value '25'. -> [Help 1]
I'm aware that I can change the version of PMD used by the maven-pmd-plugin but I believe many people don't do this. Given that many codebases will be upgraded to Java 25 in the next weeks it might make sense to make this as smooth as possible? PMD version is already bumped to version 7.16.0 on the main branch so I'm hoping the effort is limited?
Reacted by Yeikel Santana
Activity
slawekjaranowski commented on Oct 2, 2025
already merged
one is waiting - who want to fix a build?
timpeeters commented on Oct 2, 2025
ContributorAuthor
More actions
I made a first attempt. Feel free to point me in the right direction if I missed something.
#661
slawekjaranowski commented on Oct 7, 2025
boltzjf commented on Dec 12, 2025
It does not work yet ~ this is from my local, Open JDK 25
[INFO] Total time: 15.588 s (Wall Clock)
[INFO] Finished at: 2025-12-12T10:22:18+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.28.0:pmd (pmd) on project sample-api-client: Failed to determine whether report can be generated: Unsupported targetJdk value '25'. -> [Help 1]
adangel commented on Dec 12, 2025
Metadata
Metadata
Development
No branches or pull requestsIssue actions