The Maven 2 site plugin does not handle xml entities. That's the reason for this error. This is known to the Maven community. We will have to find a way to replace our current m1 way to create the menus.

What I would like to be able to do is to exclude just the file /src/xdocs/navigation.xml from the site generation so that m1 and m2 builds can coexist for a while. Will investigate this some more...

--
Dennis Lundberg

Henri Yandell wrote:
Yeah, seems Maven 2 picks up the xdoc one first. We should probably
discuss if we want to standardise on one or the other doc format prior
to doing too much more work on the migration.

Hen

On 3/3/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
Author: bayard
Date: Thu Mar  2 22:34:40 2006
New Revision: 382690

URL: http://svn.apache.org/viewcvs?rev=382690&view=rev
Log:
apt port of the xdocs site - I must be doing something wrong as it doesn't 
generate well, but I thought I would check the latest in anyway
<snip/>

Are you getting this error?


[ERROR] Error parsing
G:\apache\jakarta-commons-sandbox\compress\xdocs\navigation.xml: Error
parsing the model.
org.apache.maven.doxia.parser.ParseException: Error parsing the model.
         at
org.apache.maven.doxia.module.xdoc.XdocParser.parse(XdocParser.java:55)
         at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:51)
         at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:175)
         at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:449)
         at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
         at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
could not resolve entity named 'common-menus' (position: END_TAG seen
...</menu>\r\n
  &common-menus;... @28:19)
         at
org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1279)
         at
org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
         at
org.apache.maven.doxia.module.xdoc.XdocParser.parseXdoc(XdocParser.java:306)
         at
org.apache.maven.doxia.module.xdoc.XdocParser.parse(XdocParser.java:51)
         ... 21 more


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to