Finally had time to return to this today.

I found two things to do differently to make it work for me (yes, believe it
or not!  Perhaps the break was what I needed):

1)  I found that multiproject plugin relies on the subprojects to run first.
Someone else in this thread had mentioned they have to do it this way
(thanks for the tip!! :-).  So for sites, for example, run "maven site" on
each subproject first, then run "maven multiproject:site-deploy" on the
multiproject site.  The docs don't say this either way, and led me to
believe it did not require this (would run all sub goals).

2)  I was running multisite:clean first (always want to start fresh!) before
multiproject-:site-deploy.  This (obviously) cleaned out everything, and
that seems wrong for what I now understand the multiproject and dashboard
plugins need.  I expected multiproject to completely build and run all of
the reports configured in the subprojects, and then deploy them.  Kind of
tied to #1.


So is this the way it is, or do I simply have a "workaround" that is masking
the true problem?


-----Original Message-----
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 08, 2005 12:07 PM
To: 'Maven Users List'
Subject: RE: Multiproject & dashboard - dashboard runs "the hard way"



> -----Original Message-----
> From: Jeff Jensen [mailto:[EMAIL PROTECTED]
> Sent: mercredi 8 juin 2005 18:52
> To: Maven Users List
> Subject: RE: Multiproject & dashboard - dashboard runs "the hard way"
> 
> Hi Vincent,
> 
> I built latest this morning.
> 
> My state is the same - individual projects run well, but multiproject 
> and dashboard do not.

Ok, thanks. I'm pretty sure I've fixed Eric's problem and I thought it might
have fixed yours at the same time.

I'll work on it again tomorrow.

Thanks
-Vincent

> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 08, 2005 5:28 AM
> To: 'Maven Users List'
> Subject: RE: Multiproject & dashboard - dashboard runs "the hard way"
> 
> Jeff and Eric,
> 
> I think I may have just fixed it... ;-) Could you try it using a 
> version from SVN trunk. In case you don't have access to the sources, 
> I've uploaded one
> there:
> 
> http://www.apache.org/~vmassol/maven-dashboard-plugin-1.9-SNAPSHOT.jar
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Jeff Jensen [mailto:[EMAIL PROTECTED]
> > Sent: mercredi 8 juin 2005 04:55
> > To: 'Maven Users List'
> > Subject: RE: Multiproject & dashboard - dashboard runs "the hard way"
> >
> > Hi Vincent,
> >
> > Thank you for the reply.  I greatly appreciate the help!!
> >
> > I am trying to use maven multiproject:site.
> >
> > I having been trying both Maven 1.02 and Maven 1.1 head (built 
> > another one today).  Neither version is working for me.  I cannot 
> > determine what the config problem is, and I'm sure it is something
stupid, too!
> >
> > So for versions, that means:
> > multiproject 1.3.1 & 1.4.1
> > dashboard 1.6 & 1.9 snapshot
> >
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 07, 2005 7:25 AM
> > To: 'Maven Users List'
> > Subject: RE: Multiproject & dashboard - dashboard runs "the hard way"
> >
> > Hi Jeff,
> >
> > > -----Original Message-----
> > > From: Jeff Jensen [mailto:[EMAIL PROTECTED]
> > > Sent: jeudi 2 juin 2005 18:16
> > > To: Maven Users List
> > > Subject: Multiproject & dashboard - dashboard runs "the hard way"
> > >
> > > I finally have dashboard report running by contradicting (per my
> > > interpretation)
> > > the documentation.  All 3 of these settings must be this way to 
> > > get it to
> > > run:
> > >
> > > maven.multiproject.site.goals=site,dashboard:report-single
> > >
> > > maven.dashboard.runreactor=true maven.dashboard.rungoals=true
> >
> > All 3 properties are different. The way to use them really depends 
> > how you wish to integrate the dashboard into your build (as 
> > mentioned on the index page of the dashboard plugin).
> >
> > Do you want to execute it when you run "maven site" or when you run 
> > "maven multiproject:site"?
> >
> > > As expected and per the docs, dashboard runs all the Junit tests, 
> > > etc. for its report.  While this accomplishes getting dashboard 
> > > run, the underlying problem is still not solved.
> > >
> > >
> > > For some reason, the "site" goal is not run on each subproject.  
> > > So the subproject output (the html files in the end) needed for 
> > > the multiproject results to link to do not exist.
> > >
> > >
> > > Can anyone explain this?  Does this point to a config error on my 
> > > part, or possibly a bug?
> >
> > I don't think it's a bug because I have several test suites in the 
> > plugin to prove that it works fine with different situations.
> >
> > Which version of the multiproject plugin are you using? Which 
> > version of the dashboard plugin?
> >
> > 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