Issue Details (XML | Word | Printable)

Key: MPDASHBOARD-30
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Jeff Jensen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Dashboard Plugin

Add message on status of finding dashboard-single.xml files.

Created: 01/Jul/05 09:27 PM   Updated: 31/Jan/06 01:17 AM   Resolved: 31/Jan/06 01:17 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.9

Time Tracking:
Not Specified

File Attachments: 1. Text File mpdashboard-30.patch (1 kB)



 Description  « Hide

This is a simple addition of a few lines to echo the status of the dashboard-single.xml files.

I would prefer an error message instead, if the file was not found. But using the Jelly docs, I could not find out how.

This on the surface is a trivial thing, but until I finally dug in and added tons of debug echo statements like this to track down what the problem was, I was clueless as to the problem why the Dashboard page was blank. This echo change was the one I needed, so I think it may help others in the same situation.

I also wondered about adding a maven.dashboard.debug (or msglevel) property and surrounding a bunch of them, but I am not sure of desire and I am way out of time for now!

As a side note, the problem was the dashboard-single.xml files were not created in the subprojects. All the debug statements led me to that in the flow.

The fix was to do the opposite of what the docs say and change the order of the goals from
maven.multiproject.site.goals=site,dashboard:report-single
to
maven.multiproject.site.goals=dashboard:report-single,site

Tracing through the jelly execution, I saw where the xml file was created and reversed them to make it work.

Makes me wonder how it even works for others having it in the order the docs say!



Jeff Jensen added a comment - 01/Jul/05 09:29 PM

The new echo statements.


Jeff Jensen made changes - 01/Jul/05 09:29 PM
Field Original Value New Value
Attachment mpdashboard-30.patch [ 15793 ]
Lukas Theussl made changes - 31/Jan/06 01:17 AM
Fix Version/s 1.9 [ 11720 ]
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]