Hi Valerio,

this is due to the fact that maven generates the pages in the directory
parent\foo\target\site
parent\bar\target\site
parent\target\site

You have to view each module separately. In order to test the full website
try:
mvn site:stage -DstagingDirectory=C:\fullsite

Maven first creates in each module a directory staging and than copies
everything in the directory c:\fullsite.

You will discover that all files are placed correctly. In order to get more
detailed information try this:

http://maven.apache.org/plugins/maven-site-plugin/howto.html

Have fun,

Arne

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Valerio Schiavoni
Gesendet: Freitag, 21. Juli 2006 15:08
An: Maven Users List
Betreff: multi-module project site: link to module sites

hello,
i have a multi-module site. the parent project site.xml declares something
like:
<project>
<body>
   <links>
     <item name="Maven 2" href="http://maven.apache.org/maven2/"/>
   </links>
   <menu name="My Project">
     <item name="Introduction" href="index.html"/>
     <item name="Download" href="download.html"/>
   </menu>
   <menu ref="modules" />
 </body>
</project>

i have 2 modules, named  Foo and Bar... The generated site correctly shows
links to them, but the links are not correct. they look like:

<li class="none">
              <a href="../../maven-site/foo/index.html">Foo</a>
</li>

<li class="none">
              <a href="../../maven-site/bar/index.html">Bar</a>
</li>


but they are not there. why is  "maven-site" used ?

if i look into parent/foo/target/site/index.html i can see the index for Foo
(same for other submodules).

thanks,
valerio

-- 
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni


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

Reply via email to