[MDEP-948] building site with Maven 4 throws NPE saying "this.configuration" is null
Matthias Bünger opened MDEP-948 and commented
To work on a PR for a documentation issue I noticed that build the master branch including site and site's reports via
mvn clean verify site -P reporting
results in a NPE
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on project maven-dependency-plugin: Error generating maven-plugin-report-plugin:3.12.0:report report: Cannot invoke "org.codehaus.plexus.configuration.PlexusConfiguration.getChild(String)" because "this.configuration" is null -> [Help 1]
a full log with error flag attached
Affects: 3.8.0
Attachments:
- dependency-plugin-error.txt (111.55 kB)
Issue Links:
-
MPLUGIN-502 NPE in EnhancedPluginDescriptorBuilder with Maven 4.x
-
MSITE-1011 plugin broken when run with Maven 4
Hervé Boutemy commented
oh, this is a site generation issue with Maven 4: AFAIK, there are many issues between Maven 4 and maven-site-plugin (and how site plugin runs reports from report plugins) see for example https://maven.apache.org/ref/4.0.0-beta-3/ = site published with Maven 4
Slawomir Jaranowski commented
There is an issue in plugin-tools MPLUGIN-502 with Maven 4 integration.
clsoing since it doesn't seem to be an issue in the dependency plugin