[ https://issues.apache.org/jira/browse/MPH-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MPH-210: -------------------------------------- Issue Type: Bug (was: New Feature) > Failure to evaluate on Maven 3.9 + JDK 21 > ----------------------------------------- > > Key: MPH-210 > URL: https://issues.apache.org/jira/browse/MPH-210 > Project: Maven Help Plugin > Issue Type: Bug > Reporter: Guillaume Nodet > Priority: Major > > Note that this only happens on JDK >= 21 and Maven 3.x. > {code} > ➜ 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 > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)