[ 
http://jira.codehaus.org/browse/MOJO-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119138
 ] 

David Vicente commented on MOJO-990:
------------------------------------

Hi,

the first problem is that your project is a multi-module project.

To work fine with dashboard, you can't do a site and dashboard goal in the same 
mvn command.

see the doc : http://mojo.codehaus.org/dashboard-maven-plugin/usage.html

To generate the site and the correct dashboard report, you must run the 
dashboard report plugin in 2 passes :

1 mvn site 
        1 generate the site . 
        2 let each report plugin generate its xml file. 
        3 add the dashboard report item in the left menu. 
2 mvn dashboard-report:dashboard 
        1 aggregate all results of each report. 
        2 re-generate the dashboard HTML file. 

In your case, you must have :

- mvn install site -Dmaven.test.failure.ignore=true
- mvn dashboard-report:persist dashboard-report:dashboard site:stage-deploy -o 
-Dmaven.test.failure.ignore=true -DstagingDirectory=C:\share\maven

Keep me in touch


> Dashboard history doesn't work when building site
> -------------------------------------------------
>
>                 Key: MOJO-990
>                 URL: http://jira.codehaus.org/browse/MOJO-990
>             Project: Mojo
>          Issue Type: Bug
>          Components: dashboard
>         Environment: window XP, maven 2.0.7
>            Reporter: Lao Shing Kit
>            Assignee: David Vicente
>         Attachments: pom.xml, report_sample.zip
>
>
> I need to generate the dashboard history report. I follow the instruction on 
> http://mojo.codehaus.org/dashboard-maven-plugin/usage_historic.html
> The history report is generated successfully under the file structure in root 
> directory as well as each sub-module directory
> {root and each sub-module directory}\target\site\
> - dashboard-report.html
> - dashboard-report-details.html
> - dashboard-report-historic.html
> That's fine that the navigation between root and sub-module doesn't work at 
> this moment and I see that it is already reported in other issue.
> My issue now is, when I build the site using site:stage or site:stage-deploy, 
> the navigation from root to sub-module works. But the historic report is 
> missing in the staging directory as well as the navigation to the historic 
> page from dashboard-report.html. 
> \staging\{root and each sub-module directory}\
> - dashboard-report.html
> - dashboard-report-details.html
> So, we cannot deploy the historic report to our site. Is there anything 
> needed to be setup also?
> PS: Attached is the root directory report for your reference. Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to