the site.xml should be in "src/site" of each module...
then, you can add a "${modules}" snippet somewhere in the "<body>" section
(I think). This will generate a listing of submodules (hence this snippet
should be used on the parent's site.xml...).
On the child modules, you can use ${parentProject} instead, which will
generate - guess! - a link to the parent project ;-)
Hope this helps...
On 4/20/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply,
>
> I have site.xml at my top level under Top level Project directory
>
> But i don't see any thing happening here, my site pages are same as
> exactly when in didn't have site.xml, or in other words, my site.xml is
> getting used..
>
> i guess i'm missing some configuration here , but don't know where is it?
>
>
>
> Please advise
>
>
> Thanks,
> Raghu
>
>
>
>
>
> "Wayne Fay" <[EMAIL PROTECTED]>
> 04/16/2006 10:45 PM
> Please respond to "Maven Users List"
>
>
> To: "Maven Users List" <[email protected]>
> cc:
> Subject: Re: How to get the url of submodules
>
>
> Yes, right now the site plugin does not automatically provide links to
> the submodules etc. So the easiest way to handle this is to simple
> provide a site.xml file with links to the various submodules.
>
> You'll want to add something like this:
> <menu name="Submodules">
> <item name="Module A" href="/ModuleA/index.html"/>
> <item name="Module B" href="/ModuleB/index.html"/>
> </menu>
>
> Wayne
>
> On 4/16/06, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi All
> >
> > I have project like
> >
> > Project
> > -Module A
> > -pom.xml
> > -Module-B
> > -pom.xml
> > - pom.xml
> >
> > For this when i create a site and when i acess the Projec\index.html i
> > don't see the link to Module-A and Module-B even though i have <url>
> > metioned in my pom.xml
> >
> > How can i add that in site webpage so user can navigate thru other
> modules
> > in project??? do i need to have site.xml???
> >
> > please advise
> >
> >
> >
> >
> >
> >
> > Thanks,
> > Raghu
> >
> >
>
>
>
>
--
______________________________________
Cheers,
Arik Kfir [EMAIL PROTECTED]
Linux user, number 415067 - http://counter.li.org/
http://corleon.dnsalias.org