You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/11/26 16:01:13 UTC

RE: dashboard plugin: only empty reports

Hi Oliver,

> -----Original Message-----
> From: Oliver Nölle [mailto:oliver.noelle@bmw-carit.de]
> Sent: 26 November 2003 14:53
> To: vmassol@pivolis.com
> Subject: dashboard plugin: only empty reports
> 
> Hi Vincent,
> 
> I tried to get your dashboard plugin working, but encounter the
following
> problem:
> 
> It successfully starts reactor and runs through my projects, but the
> resulting dashboard report has no data filled in:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <document>
>   <properties>
>     <title>Dashboard Report</title>
>   </properties>
>   <body>
>     <section name="Dashboard report">
>       <table>
>         <tr>
>           <th>Project</th>
>           <th>Clover TPC</th>
>           <th>Clover LOC</th>
>         </tr>
>         <tr>
>           <td>component1</td>
>           <td>-</td>
>           <td>-</td>
>         </tr>
>         <tr>
>           <td>component2</td>
>           <td>-</td>
>           <td>-</td>
>         </tr>
>       </table>
>     </section>
>   </body>
> </document>
> 

ok that means the subprojects are correctly found.

> 
> It's maven-rc1, clover-plugin-1.2, dashboard-plugin-1.1, and these are
my
> build.properties:
> 
> maven.multiproject.basedir=checkouts
> maven.multiproject.includes=*/project.xml
> maven.multiproject.ignoreFailures=yes
> 
> maven.dashboard.basedir=checkouts
> maven.dashboard.includes=*/project.xml
> maven.dashboard.excludes=project.xml,target/**
> maven.dashboard.ignoreFailures=true
> maven.dashboard.aggregators = clovertpc,cloverloc
> 
> When I call maven site on the subprojects the clover html report gets
> generated correctly.

The clovertpc/loc aggregators use the XML report from Clover but as
you're suing Dashboard 1.1 it should be ok (it automatically tells
clover to generate this xml report).

> 
> Am I missing something? Do I need newer versions of something?

Nope. What I would need to help you is the console output.

> 
> And additionally, can you give me a hint how to write an aggregator
that
> shows for each project the size of the resulting jar? That would be
great!

I've added a quick tutorial for you. Please tell me if it needs more
details. Even better, please submit a patch if you think it's missing
something (once you've succeeded in creating your aggregator of course
;-)).

http://maven.apache.org/reference/plugins/dashboard/authoring.html

> 
> 
> Any help appreciated, looks like a very promising maven-plugin to me

Thanks
-Vincent

> 
> 
> Regards,
> 
> Oliver Nölle
> 
> --
> Oliver Nölle
> BMW Car IT GmbH
> Petuelring 116
> 80809 München
> Tel.: +49 89 189311-42
> Fax: +49 89 189311-20
> mailto: oliver.noelle@bmw-carit.de
> home: www.bmw-carit.de
> anfahrt: http://mail.map24.com/bmw-carit



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org