Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-854

Markup validation error after upgrading to 3.8.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 3.8.2
    • None
    • None
    • None

    Description

      site is generated as expected with 3.7.1

      after upgrading to 3.8.2
      following error is being reported

      ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (generate-site) on project openmeetings-server: Error parsing '/home/solomax/work/openmeetings/openmeetings/openmeetings-server/src/site/markdown/InstallMediaServer.md': line [3] Error parsing the model: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271)  -> [Help 1]
      

      the error message is totally misleading, there is no </p> tag in https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/site/markdown/InstallMediaServer.md

      Would appreciate any help on this

      Stacktraces:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (generate-site) on project openmeetings-server: Error parsing '/home/solomax/work/openmeetings/openmeetings/openmeetings-server/src/site/markdown/InstallMediaServer.md': line [3] Error parsing the model: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271)  -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (generate-site) on project openmeetings-server: Error parsing '/home/solomax/work/openmeetings/openmeetings/openmeetings-server/src/site/markdown/InstallMediaServer.md': line [3] Error parsing the model: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271) 
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:566)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Error parsing '/home/solomax/work/openmeetings/openmeetings/openmeetings-server/src/site/markdown/InstallMediaServer.md': line [3] Error parsing the model: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271) 
          at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:157)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:566)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error parsing '/home/solomax/work/openmeetings/openmeetings/openmeetings-server/src/site/markdown/InstallMediaServer.md': line [3] Error parsing the model: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271) 
          at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument (DefaultSiteRenderer.java:444)
          at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument (DoxiaDocumentRenderer.java:52)
          at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
          at org.apache.maven.plugins.site.render.SiteMojo.renderDoxiaDocuments (SiteMojo.java:290)
          at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:188)
          at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:566)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.doxia.parser.ParseException: Error parsing the model: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271) 
          at org.apache.maven.doxia.parser.AbstractXmlParser.parse (AbstractXmlParser.java:146)
          at org.apache.maven.doxia.parser.XhtmlBaseParser.parse (XhtmlBaseParser.java:93)
          at org.apache.maven.doxia.module.xhtml.XhtmlParser.parse (XhtmlParser.java:357)
          at org.apache.maven.doxia.module.markdown.MarkdownParser.parse (MarkdownParser.java:112)
          at org.apache.maven.doxia.DefaultDoxia.parse (DefaultDoxia.java:65)
          at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument (DefaultSiteRenderer.java:436)
          at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument (DoxiaDocumentRenderer.java:52)
          at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
          at org.apache.maven.plugins.site.render.SiteMojo.renderDoxiaDocuments (SiteMojo.java:290)
          at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:188)
          at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:566)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: end tag name </p> must match start tag name <div> from line 3 (position: TEXT seen ...out bd-callout-danger"> It should be run under same user as OM</p>... @3:271) 
          at org.codehaus.plexus.util.xml.pull.MXParser.parseEndTag (MXParser.java:1727)
          at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl (MXParser.java:1210)
          at org.codehaus.plexus.util.xml.pull.MXParser.nextToken (MXParser.java:1138)
          at org.apache.maven.doxia.parser.AbstractXmlParser.parseXml (AbstractXmlParser.java:286)
          at org.apache.maven.doxia.parser.AbstractXmlParser.parse (AbstractXmlParser.java:142)
          at org.apache.maven.doxia.parser.XhtmlBaseParser.parse (XhtmlBaseParser.java:93)
          at org.apache.maven.doxia.module.xhtml.XhtmlParser.parse (XhtmlParser.java:357)
          at org.apache.maven.doxia.module.markdown.MarkdownParser.parse (MarkdownParser.java:112)
          at org.apache.maven.doxia.DefaultDoxia.parse (DefaultDoxia.java:65)
          at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument (DefaultSiteRenderer.java:436)
          at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument (DoxiaDocumentRenderer.java:52)
          at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:349)
          at org.apache.maven.plugins.site.render.SiteMojo.renderDoxiaDocuments (SiteMojo.java:290)
          at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:188)
          at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:147)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:566)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      [ERROR] 
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      
      

      Attachments

        1. screenshot-1.png
          152 kB
          Michael Osipov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              solomax Maxim Solodovnik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: