GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Create new release compatible with Java 25#659
Copy link
Assignees
slawekjaranowski
Labels
enhancementNew feature or request
Milestone
3.28.0

Description

@timpeeters
timpeeters
opened on Sep 30, 2025
Issue body actions

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

  1. timpeeters
    added
    enhancementNew feature or request
    on Sep 30, 2025
  2. slawekjaranowski commented on Oct 2, 2025

    @slawekjaranowski
    slawekjaranowski
    on Oct 2, 2025
    Member
    More actions

    already merged

    • Bump pmdVersion from 7.14.0 to 7.15.0 #643
    • Bump pmdVersion from 7.15.0 to 7.16.0 #652

    one is waiting - who want to fix a build?

    • Bump pmdVersion from 7.16.0 to 7.17.0 #657
    Reacted by Tim Peeters
  3. timpeeters commented on Oct 2, 2025

    @timpeeters
    timpeeters
    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

  4. slawekjaranowski
    self-assigned this
    on Oct 6, 2025
  5. slawekjaranowski
    added this to the 3.28.0 milestone on Oct 6, 2025
  6. slawekjaranowski
    closed this as completedon Oct 6, 2025
  7. slawekjaranowski commented on Oct 7, 2025

    @slawekjaranowski
    slawekjaranowski
    on Oct 7, 2025
    Member
    More actions

    done:
    https://lists.apache.org/thread/gf3o9sdph7qw2ntqbpr3tvg684988yog

  8. boltzjf commented on Dec 12, 2025

    @boltzjf
    boltzjf
    on Dec 12, 2025
    More actions

    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]

  9. adangel commented on Dec 12, 2025

    @adangel
    adangel
    on Dec 12, 2025
    Member
    More actions

    @boltzjf maven-pmd-plugin 3.28.0 uses PMD 7.17.0, which supports Java 25.
    Maybe you are using a different (older) PMD version by following the howto at https://maven.apache.org/plugins/maven-pmd-plugin/examples/upgrading-PMD-at-runtime.html ? Please verify your plugin configuration, whether you override any dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @slawekjaranowski
    slawekjaranowski

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    • 3.28.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.