Are you generating the site (mvn site) or deploying the site (mvn site-deploy)? If the first, everything is alright, it is supposed to happen. For the second, take a look at the root pom, this should contain something like this:

   <distributionManagement>
       <site>
           <id>website</id>
           <url>file:///var/www/projects/docs/project</url>
       </site>
   </distributionManagement>

Hth,

Nick S.

Serge Dubakov wrote:
Hi,

We have encountered a problem while trying to generate the site for our
project.

The project is multimodule and the modules are located in flat list of
directories relative to
the root pom.xml (the directory are named differently than artifactIds if
this matters -
for example module whose artifactId is "ga.common" is placed in "
ga.common.jar" directory).
The modules are defined in root pom.xml like this:

   <modules>
       <module>ga.common.jar</module>
       ...
   </modules>

When I am generating the site with "mvn site" everything's getting done
right except that
the left navigation links (to modules) are referring to non-existant
folders. For example,
"ga.common" site link points to {ROOT}/target/site/ga.common/index.html
while it is generated in {ROOT}/ga.common.jar/target/site/index.html.

Anyone has a clue on what am I doing wrong?

Thanks.

Serge.



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

Reply via email to