You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ryan Baxter <rb...@apache.org> on 2013/03/22 01:58:23 UTC

Parent Project Links Broken In Modules In Sub-Directory

I have a multiple module site that has 2 modules in a subdirectory in
the parent project.  When I stage the site the links back up to the
parent project from the two modules in the subdirectory are broken.
However the links back to the parent project from the other module
sites work fine.  Here is the structure...

parent
   +module1
      +pom.xml
   +mydir
       +module2
          +pom.xml
       +module3
           +pom.xml
   +module4
       +pom.xml
   +pom.xml

The site directory structure when it is staged looks like

site
   +module1
      +index.html
   +module2
      +index.html
   +module3
      +index.html
   +module4
      +index.html
   +index.html

Like I said above the links back to the parent site from the sites for
modules 1 & 4 work fine, the links from module 3 & 4 are broken.  To
my surprise the sites for modules 3 & 4 are not in a subdirectory
however the links back to the parent index.html look like
../../index.html making me think they should be. How can I correct
this?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org