Hi,

you must add this section in your root pom.xml
<distributionManagement>
    <site>
      <id>website</id>
      <url>xxxx</url>
    </site>
  </distributionManagement>

and after, you can run :

- mvn site
- mvn dahboard-report:dashboard
- mvn site:stage or mvn site:deploy

and all links work fine.

only site:stage or site:deploy goal can aggregate all modules site in only
one directory structure.

with mvn site only, each module has the site in \target\site but links don't
work.

Best regards

David


2007/12/17, Marcin Zajaczkowski <[EMAIL PROTECTED]>:
>
> Hi,
>
>
> I tried to collect Cobertura stats in one place (and later an output
> from a few other plugins) for multimodule project and I found
> maven-dashboard-plugin. It looks very interesting, but I have a little
> problem with path for submodules.
>
> In "Global DashBoard Report : MainProjectName" page:
> ${project_root}/target/site/dashboard-report-details.html
> I have in "Cobertura Report Summary" links for "DashBoard Report" for
> submodule:
> ${project_root}/target/site/${submodule_name}/dashboard-
> report.html#cobertura
>
> By default dashboard report is placed in:
> ${project_root}/${submodule_name}/target/size/dashboard-
> report.html#cobertura
> and generated link doesn't work.
>
> I was able to workaround a problem by defining:
> <reporting>
>   <outputDirectory>../target/site/${project.name}</outputDirectory>
>   (...)
> </reporting>
> in every submodule, but maybe it can be done easier?
>
>
> Regards
> Marcin
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

Reply via email to