Re: Error using Asciidoctor to generate a Maven Site
Posted by
jasondlee on
Jul 10, 2013; 8:58pm
URL: https://discuss.asciidoctor.org/Error-using-Asciidoctor-to-generate-a-Maven-Site-tp376p377.html
Shooting in the dark, but is the link
tag closed/ended? <link rel... />
On 07/10/2013 03:50 PM, Romain Deltour [via Asciidoctor ::
Discussion] wrote:
Hi,
I'm new to this list, I've been playing with Asciidoctor for a few
days and loving it so far.
I'm trying to use Asciidoc to generate pages in a Maven Site to no
avail. I've tried to configure my plugin exactly as hinted in the
doc at [1], but I get this error:
----
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site)
on project my-maven-plugin: Error during page generation: Error
parsing
'/Users/Romain/Work/my-maven-plugin/src/site/asciidoc/usage.ad':
line [9] Error parsing the model: end tag name </head> must
be the same as start tag <link> from line 8 (position: TEXT
seen ...<link rel="stylesheet"
href="./asciidoctor.css">\n</head>... @9:8) -> [Help
1]
----
It seems to me that the Maven site plugin is not happy with the
HTML5 backend and would prefer an XHTML syntax. Is there any way
to configure the backend used by the site plugin ? Has anyone been
successful in using Asciidoctor for Maven site generation ?
Thanks!
Romain.
[1] http://asciidoctor.org/docs/install-and-use-asciidoctor-maven-plugin/#maven-site-integration
--
Jason Lee
http://cubtracker.com
http://blogs.steeplesoft.com
http://twitter.com/jasondlee
http://blogs.steeplesoft.com/+
http://blogs.steeplesoft.com/in