On Fri, Oct 17, 2008 at 8:36 PM, Rick <[EMAIL PROTECTED]> wrote:
> 1)  I have a project structure with a parent pom and several modules
> beneath it. When I run mvn site from the root (the parent pom dir) it
> generates the site index.html file but if I try to click on any of the
> module links the URLs are wrong. They try to go to
> /path/project/target/site/module/index.html when it needs to go to
> /path/project/module/target/site/index.html  What's the best way to
> fix this?

The site isn't meant to be previewed locally in pieces under target --
the links will work when the site is deployed.

Ideally you could stage it to preview with "mvn site:stage-deploy" but
I think the links are problematic there as well.  (I usually just
change the url in distributionManagement locally if I need to publish
to a different location temporarily.)

-- 
Wendy

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

Reply via email to