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 — [MPH-210] Failure to evaluate on Maven 3.9 + JDK 21 · Issue #327 · apache/maven-help-plugin

[MPH-210] Failure to evaluate on Maven 3.9 + JDK 21 #327

New issue
Copy link
New issue
Copy link
Closed
#425
#417
Closed
[MPH-210] Failure to evaluate on Maven 3.9 + JDK 21#327
#425
#417
Copy link
Labels
bugSomething isn't workingpriority:majorMajor loss of function

Description

@jira-importer
jira-importer
opened on Oct 19, 2023
Issue body actions

Guillaume Nodet opened MPH-210 and commented

Note that this only happens on JDK >= 21 and Maven 3.x.

➜  maven-help-plugin git:(master) ✗ mvn -V help:evaluate -Dexpression=project.build.resources           
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /Users/gnodet/.sdkman/candidates/maven/3.9.5
Java version: 21, vendor: Oracle Corporation, runtime: /Users/gnodet/.sdkman/candidates/java/21-open
Default locale: en_FR, platform encoding: UTF-8
OS name: "mac os x", version: "14.0", arch: "aarch64", family: "mac"
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------< org.apache.maven.plugins:maven-help-plugin >-------------
[INFO] Building Apache Maven Help Plugin 3.4.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO] 
[INFO] --- help:3.3.0:evaluate (default-cli) @ maven-help-plugin ---
[INFO] No artifact parameter specified, using 'org.apache.maven.plugins:maven-help-plugin:maven-plugin:3.4.1-SNAPSHOT' as project.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.586 s
[INFO] Finished at: 2023-10-19T15:28:12+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate (default-cli) on project maven-help-plugin: Execution default-cli of goal org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate failed: No converter available
[ERROR] ---- Debugging information ----
[ERROR] message             : No converter available
[ERROR] type                : org.apache.maven.model.merge.ModelMerger$MergingList
[ERROR] converter           : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
[ERROR] message[1]          : Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @10c47c79
[ERROR] -------------------------------
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Issue Links:

  • MPH-211 Upgrade maven-plugin parent to 41
    ("is blocked by")

Activity

  1. jira-importer
    added
    bugSomething isn't working
    priority:majorMajor loss of function
    on Jun 14, 2025
  2. hupling commented on Oct 31, 2025

    @hupling
    hupling
    on Oct 31, 2025
    More actions

    i have the same problem, but only on windows

  3. ky0n commented on Nov 22, 2025

    @ky0n
    ky0n
    on Nov 22, 2025
    More actions

    Adding --add-opens=java.base/java.util=ALL-UNNAMED to the mavenOpts prevents the error. Not a fix, but it's a workaround.

    Java-11 does not need it, but at least Java-17 needs the mavenOpts. Workaround tested with Java-17,21,25.

  4. wilx
    added a commit that references this issue on Aug 21, 2026

    [MPH-210] Evaluate merged model lists without reflection

    This issue will close once commit eb52c5f is merged into the 'master' branch.
    eb52c5f
  5. elharo
    closed this as completedin 5ac0be0on Aug 25, 2026
  6. wilx
    added 3 commits that reference this issue on Sep 4, 2026

    [MPH-210] Fix help:evaluate for Maven 3 model collections (apache#425)

    This issue will close once commit 5ac0be0 is merged into the 'master' branch.
    5ac0be0

    Add regression test for issue apache#327

    This issue will close once commit 99b6943 is merged into the 'master' branch.
    99b6943

    Fixes apache#327: Evaluate model collections without reflection

    This issue will close once commit 93f3845 is merged into the 'master' branch.
    93f3845
  7. wilx
    added 2 commits that reference this issue on Sep 17, 2026

    Add regression test for issue apache#327

    d5826d4

    Fixes apache#327: Evaluate model collections without reflection

    5c1b173
  8. slachiewicz
    added 2 commits that reference this issue on Oct 27, 2026

    Add regression test for issue apache#327

    cbb9fc2

    Fixes apache#327: Evaluate model collections without reflection

    70bf0bd
  9. slawekjaranowski
    added a commit that references this issue on Nov 14, 2026

    Fix #327: evaluate model collections on Maven 4 (#417)

    This issue will close once commit b7e04b5 is merged into the 'master' branch.
    b7e04b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      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.