You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ra...@jpmchase.com on 2006/04/17 04:56:45 UTC

How to get the url of submodules

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 

Re: How to get the url of submodules

Posted by Wayne Fay <wa...@gmail.com>.
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, raghurajan.x.gurunathan@jpmchase.com
<ra...@jpmchase.com> 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
>
>