Slawomir Jaranowski created MPLUGIN-502:
-------------------------------------------

             Summary: 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


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)

Reply via email to