maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Pettey (JIRA)" <>
Subject [jira] [Created] (MSITE-772) Any element in <head> causes site to fail
Date Thu, 31 Mar 2016 18:47:25 GMT
Gordon Pettey created MSITE-772:

             Summary: Any element in <head> causes site to fail
                 Key: MSITE-772
             Project: Maven Site Plugin
          Issue Type: Bug
          Components: site descriptor
    Affects Versions: 3.5
            Reporter: Gordon Pettey

Any site descriptor containing elements in <head> causes the site plugin to fail with
{quote}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.5:site
(default-cli) on project common-parent: SiteToolException: Error parsing site descriptor:
TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<head>\n
           <anyElement/>... @74:26) -> [Help 1]{quote}

The error happened initially with a {{<link>}} element added per the DOAP plugin.

The error occurs after all "configuring plugin..." log lines, but before any "Generating XYZ
report..." lines.

The relevant portion of site_en.xml is
            <link rel="meta" title="DOAP" href="$\{project.url}/doap_$\{project.artifactId}.rdf"
        <menu name="Modules" ref="modules"/>
        <menu name="Reports" ref="reports" inherit="bottom"/>
This worked in m-site-p:3.4, so is a regression in 3.5.

This message was sent by Atlassian JIRA

View raw message