As Heinrich told you, root element in site.xml must be <project> and not <site>.
See 
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html

2007/12/1, Mick Knutson <[EMAIL PROTECTED]>:
> Oh. Where can I find the description of how the site.xml should look?
>
>
> Here is what I have now:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <site>
>     <bannerLeft>
>         <name>BASE Logic, Inc.</name>
>         <src>http://www.baselogic.com/images/blinc-maven.jpg</src>
>         <href>http://www.baselogic.com</href>
>     </bannerLeft>
>     <bannerRight>
>         <name>BASE Logic, Inc.</name>
>         <src>http://www.baselogic.com/images/blinc-maven.jpg</src>
>         <href>http://www.baselogic.com</href>
>     </bannerRight>
>
>     <body>
>         <links>
>             <item name="Maven" href="http://maven.apache.org/"/>
>             <item name="BASE Logic Inc" href="http://www.baselogic.com"/>
>         </links>
>
>         <menu name="${project.name}">
>             <item name="Project Site Home" href="./../../../index.html"/>
>         </menu>
>
>         <menu name="Project Documents">
>             <item name="Dashboard Report" href="dashboard-report.html"/>
>             <item name="FAQs" href="./../faqs.html"/>
>         </menu>
>
>         ${modules}
>
>         ${reports}
>
>
>     </body>
> </site>
>
>
>
>
> On 12/1/07, Heinrich Nirschl <[EMAIL PROTECTED]> wrote:
> >
> > On Dec 1, 2007 8:31 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > I have the following:
> > >     <distributionManagement>
> > >         <site>
> > >             <id>meez-site</id>
> > >             <name>MEEZ_Web</name>
> > >             <url>${siteUrl}</url>
> > >             <!--<url>scp://www.meez.com/maven/site/</url>-->
> > >         </site>
> > >     </distributionManagement>
> > >
> > > Now when I use mvn site on the  2.0-beta-5 plugin, the site works fine.
> > but
> > > when I use 2.0-beta-6, I get the following error:
> > >
> > > INFO]
> > > ------------------------------------------------------------------------
> > > ERROR] BUILD ERROR
> > > INFO]
> > > ------------------------------------------------------------------------
> > > INFO] Error parsing site descriptor
> > >
> > > mbedded error: Unrecognised tag: 'site' (position: START_TAG seen <?xml
> > > version="1.0" encoding="ISO-8859-1"?>\n\n<site>... @3:7)
> >
> > I guess the error message refers to the site descriptor src/site/site.xml:
> > the start tag there should be "project" instead of "site".
> >
> > - Henry
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>

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

Reply via email to