Ok, that's normal then. The dashboard plugin makes sense only when you
have several subprojects. By default it does not include the main
project in its dashboard as when a master project/multiple subproject
scenario, the master project does not usually hold any code and is
simply a wrapper project. If you wish to run it on your main master
project, try setting:

maven.dashboard.excludes=**/target/**/project.xml

The default value is:

maven.dashboard.excludes=**/target/**/project.xml,project.xml

as show by
http://maven.apache.org/reference/plugins/dashboard/properties.html

BTW, I've just noticed that I should removed project.xml from the
default exclude list as it's already excluded in the default includes
list:

maven.dashboard.includes=*/project.xml

and it makes more sense for the user (you) to simply add it, as in:

maven.dashboard.includes=*/project.xml,project.xml

Note: I haven't tested this scenario of including the master project and
it might not work!

Thanks
-Vincent

> -----Original Message-----
> From: Brian Burridge [mailto:[EMAIL PROTECTED]
> Sent: 14 November 2003 19:53
> To: Maven Users List
> Subject: RE: Dashboard produces no results / Checkstyle question
> 
> I am only using the dashboard with one project (no subprojects). There
> is no dashboard-single.xml anywhere, just the dashboard-data.xml. I do
> have the checkstyle-raw-report.xml though. I'm not using clover.
> 
> Brian N. Burridge
> IBM Global Services
> 
> 
> On Fri, 2003-11-14 at 11:00, Vincent Massol wrote:
> > Hi Brian,
> >
> > > -----Original Message-----
> > > From: Brian Burridge [mailto:[EMAIL PROTECTED]
> > > Sent: 14 November 2003 16:22
> > > To: [EMAIL PROTECTED]
> > > Subject: Dashboard produces no results / Checkstyle question
> > >
> > > I am new to Maven (previously used Ant), and am loving it.
> > >
> > > I have customized many of the reports, and added content to the
site,
> > > and everything is coming along well. But I have two questions that
I
> > > have not been able to resolve on my own.
> > >
> > > 1) When the Dashboard plugin runs I get an empty
dashboard-data.xml
> > and
> > > no data on the report. (the xml contains just the dashboard open
and
> > > closing tag.) All the dashboard settings have been left at their
> > > defaults.
> >
> > The dashboard is quite new (I've just committed it last week) so
there
> > may be some rough edges... :-)
> >
> > The dashboard plugins calls each project and that generates a
> > dashboard-single.xml file in each of your project. Could you check
that
> > these files exists and if they have any content?
> >
> > The default dashboard aggregators are checkstyle and clover ones. So
the
> > first thing you need to ensure is that running "maven checkstyle" on
> > your individual projects generates a checkstyle-raw-report.xml file.
For
> > clover, you *must* set the maven.clover.report.xml=true property, as
> > explained on:
> >
> > http://maven.apache.org/reference/plugins/dashboard/aggregators.html
> >
> > [snip]
> >
> > Thanks
> > -Vincent
> >
> >
> >
---------------------------------------------------------------------
> > 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]



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

Reply via email to