Thanks, That works.

Two more questions:)
1. is there a way to auto-generate a site descriptor based on the info in
pom.xml? later, I can just alter that descriptor if needed.
2. is there a way (on the command line) to skip all previous phases but just
"site" one when I just want to get the report after previous successful run?

Thanks
Yan

On 9/25/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
>
> Yan Huang wrote:
> > Hello,
> >
> > I have a bunch of modules under the top project. When I run the site
> report,
> > the report link to the modules are defined as
> > "target/site/module1/index.html". How do I configure project-info
> plug-in to
> > generate the link to "module1/target/site/index.html" instead?
>
> The short answer is: You can't.
>
> The slightly longer answer is: In a normal of the site-plugin, i.e. 'mvn
> site:site' the plugin will not try to create links between the different
> modules' target directories. When you deploy your site with 'mvn
> site:deploy' the links will be correct. If you want to check the links
> prior to deployment, you can use 'mvn site:stage' which deploys the
> complete site to a (local) staging place.
>
> >
> > Thanks
> > Yan
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to