-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Affected version
4.0.0
Bug description
$ mvn plugin-report:3.15.1:report -e
...
[INFO] --- plugin-report:3.15.1:report (default-cli) @ maven-clean-plugin ---
[INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:2.1.0 skin
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.259 s
[INFO] Finished at: 2025-12-17T13:36:58+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-report-plugin:3.15.1:report (default-cli) on project maven-clean-plugin: Execution default-cli of goal org.apache.maven.plugins:maven-plugin-report-plugin:3.15.1:report failed: Cannot invoke "org.apache.maven.doxia.sink.SinkFactory.createSink(java.io.File, String)" because the return value of "org.apache.maven.plugin.plugin.report.PluginReport.getSinkFactory()" is null -> [Help 1]
[ERROR]
...
Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.maven.doxia.sink.SinkFactory.createSink(java.io.File, String)" because the return value of "org.apache.maven.plugin.plugin.report.PluginReport.getSinkFactory()" is null
at org.apache.maven.plugin.plugin.report.PluginReport.generateMojosDocumentation (PluginReport.java:280)
at org.apache.maven.plugin.plugin.report.PluginReport.executeReport (PluginReport.java:184)
at org.apache.maven.reporting.AbstractMavenReport.generate (AbstractMavenReport.java:358)
at org.apache.maven.reporting.AbstractMavenReport.reportToSite (AbstractMavenReport.java:266)
at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:212)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
not really a surprise given comment in code:
https://github.com/apache/maven-reporting-impl/blob/maven-reporting-impl-4.0.0/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java#L265
but not tested for now
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working