[
https://issues.apache.org/jira/browse/MPLUGIN-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804462#comment-17804462
]
Slawomir Jaranowski commented on MPLUGIN-502:
---------------------------------------------
Fix was in MINVOKER-313
https://github.com/apache/maven-invoker-plugin/pull/174
> NPE in EnhancedPluginDescriptorBuilder with Maven 4.x
> -----------------------------------------------------
>
> Key: MPLUGIN-502
> URL: https://issues.apache.org/jira/browse/MPLUGIN-502
> Project: Maven Plugin Tools
> Issue Type: Bug
> Affects Versions: 3.10.2, 3.11.0
> Reporter: Slawomir Jaranowski
> Priority: Major
>
> With Maven 4.x (4.0.0-alpha-10) we have:
> {noformat}
> Caused by: java.lang.NullPointerException: Cannot invoke
> "org.codehaus.plexus.configuration.PlexusConfiguration.getChild(String)"
> because "this.configuration" is null
> at
> org.apache.maven.plugins.plugin.descriptor.EnhancedPluginDescriptorBuilder.build(EnhancedPluginDescriptorBuilder.java:75)
> at
> org.apache.maven.plugin.descriptor.PluginDescriptorBuilder.build(PluginDescriptorBuilder.java:63)
> at
> org.apache.maven.plugin.plugin.report.PluginReport.extractPluginDescriptor(PluginReport.java:163)
> at
> org.apache.maven.plugin.plugin.report.PluginReport.executeReport(PluginReport.java:148)
> at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:289)
> {noformat}
> Also ITs in {{maven-plugin-report-plugin}} fails with Maven 4.x
--
This message was sent by Atlassian Jira
(v8.20.10#820010)