Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-502

NPE in EnhancedPluginDescriptorBuilder with Maven 4.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.10.2, 3.11.0
    • None
    • None
    • None

    Description

      With Maven 4.x (4.0.0-alpha-10) we have:

      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)
      

      Also ITs in maven-plugin-report-plugin fails with Maven 4.x

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: