Hi,

I have a problem where I have a pom P1 in a top-level dir, and a pom P2
in a subdir (a module). The parent of P2 is NOT P1; P1 just exists to
build the modules in sub-directories [1].

When 
  mvn site:site
is run in the subdir, ie directly in the directory of pom P2 then it
works as expected; the site generated in subdir/target/site has all the
relevant data.

But when I run exactly the same command at the top-level dir, module P2
gets built but the site is missing all its menus (ie
p2/target/site/index.html is different).

There is an xdoc/index.xml file, which in both cases is correctly being
processed to generate the index.html file. However when the site:site
command is run from the top-level directory the menus defined in
site.xml are not being inserted into it.

Has anyone got an idea what might be going on?

I'm using maven 2.0.8.

[1] Of course, the real setup has multiple modules in child dirs, but
the problem can be simplified to just one module.

Regards,
Simon


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

Reply via email to