Brad Larrick created MSITE-903:
----------------------------------

             Summary: Generating site reports for plugin results in 
NoSuchMethodError
                 Key: MSITE-903
                 URL: https://issues.apache.org/jira/browse/MSITE-903
             Project: Maven Site Plugin
          Issue Type: Bug
          Components: Maven 3, site:run
    Affects Versions: 4.0.0-M1
         Environment: Maven 3.8.5
JDK 8
Windows 10

            Reporter: Brad Larrick


When generating the site for a maven plugin I get the following:

java.lang.NoSuchMethodError: org.apache.maven.doxia.sink.Sink.verbatim(Z)V
    at org.apache.maven.reporting.AbstractMavenReportRenderer.verbatimText 
(AbstractMavenReportRenderer.java:448)
    at 
org.apache.maven.plugin.plugin.PluginReport$PluginOverviewRenderer.renderUsageSection
 (PluginReport.java:694)
    at 
org.apache.maven.plugin.plugin.PluginReport$PluginOverviewRenderer.renderBody 
(PluginReport.java:616)
    at org.apache.maven.reporting.AbstractMavenReportRenderer.render 
(AbstractMavenReportRenderer.java:80)
    at org.apache.maven.plugin.plugin.PluginReport.executeReport 
(PluginReport.java:266)

 

And these warnings:

[INFO] Generating "Property Updates Report" report --- 
versions-maven-plugin:2.11.0:property-updates-report
[INFO] Rendering 2 generated Doxia documents: 2 xdoc
[WARNING] Unrecognized xdoc tag <div> at [11:12]
[WARNING] Unrecognized xdoc tag <div> at [79:14]
[WARNING] Unrecognized xdoc tag <div> at [86:14]
[WARNING] Unrecognized xdoc tag <div> at [94:14]
[WARNING] Unrecognized xdoc tag <div> at [101:14]
[WARNING] Unrecognized xdoc tag <div> at [108:14]
[WARNING] Unrecognized xdoc tag <div> at [115:14]
[WARNING] Unrecognized xdoc tag <div> at [11:12]
[WARNING] Unrecognized xdoc tag <div> at [56:14]
[WARNING] Unrecognized xdoc tag <div> at [64:14]
[WARNING] Unrecognized xdoc tag <div> at [71:14]
[WARNING] Unrecognized xdoc tag <div> at [78:14]

The example project to reproduce is at:

[https://github.com/bradleylarrick/plugin-example.git]

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to