Take a look at the project info reports plugin - I'm pretty sure that the execute() goal for those correctly obtains the details.

Let me know if you have any trouble finding it and I can poke around and find the exact code.

Cheers,
Brett

On 24/08/2007, at 6:19 PM, dvicente wrote:


Hi,

I will explain my problem :

when i run a "mvn site" command, The site plugin generates the menu on the left and applies the good skin (the default one if not specified in site.xml
or that specified) for each generated report.

When the dashboard plugin is executed during the phase site, I have all that well but my report is empty, considering this one requires that the others
are generated to aggregate datas but that it is normal.

Thus to fill my Dashboard report, I am obliged to run a "mvn
dashboard-reportd:dashboard" after the "mvn site" execution.

There, my report is well filled but I lose the menu and the skin (that in
target \ site is crushed by the default), which seems normal.

Now my question is:

how, in a simple way, I can, in my plugin, recover a “RenderContext” with identical of that set up by the site plugin, which, when I use the sink to
fill my report, already enables me to have the built left menu and
especially that the execution of my report does not crush the selected skin
set up in site.xml  by the default one?

--
View this message in context: http://www.nabble.com/Maven-report- and-site-render-context-tf4322290s177.html#a12308388
Sent from the Maven Developers mailing list archive at Nabble.com.


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

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

Reply via email to