on mine I have something like this :
maven.multiproject.basedir=${basedir}/..
maven.multiproject.ignoreFailures=true
maven.multiproject.excludes=*-build/project.xml
maven.multiproject.includes=*-*/project.xml
build is from where I run the multiproject stuff, and it's at the same
level as the others :
/projects/xx-build/project.xml
/projects/xx-srv/project.xml
/projects/xx-web/project.xml
etc.
both site and dashboard works, when run from xx-build directory.
Don't know whether it helps.
On 6/3/05, Michael Niemaz <[EMAIL PROTECTED]> wrote:
> For my project, I run the multiproject twice, fist on my sub-projects
> seconddly on the root project excluding my sub projects such as:
>
> <maven:reactor basedir="${basedir}" includes="subs/project.xml"
> goals="multiproject:site" banner="multiproject:site"
> ignoreFailures="true" />
> <j:set var="maven.multiproject.excludes"
> value="subs/project.xml,*/*/project.xml" />
> <attainGoal name="multiproject:site" />
>
> --mike
>
> Jeff Jensen wrote:
>
> >That is a thought - I will try to get it working without dashboard first.
> >Thanks.
> >
> >
> >On the out of memory, in case it helps - when running Maven on just one
> >subproject, I would get out of memory (I believe due to our very large code
> >base). To fix, I set the max heap - on the plugins that launched their own
> >JVMs, I set their memory property (e.g. for Javadoc), and for the rest, I
> >set "MAVEN_OPTS=-Xmx1024m". This prevented OOM for me. This may allow you
> >to run all the reports you want.
> >
> >
> >-----Original Message-----
> >From: Michael Niemaz [mailto:[EMAIL PROTECTED]
> >Sent: Friday, June 03, 2005 1:59 AM
> >To: Maven Users List
> >Subject: Re: Multiproject & dashboard - dashboard runs "the hard way"
> >
> >Well, it works for me although I'm not using the dashboard plugin.
> >Still, I had to remove the generation of some reports to prevent an
> >outofmemory exception.
> >And it looks like it does go through the same goals several times.
> >But I can't spend to much time on that so ...
> >Try to play with the excludes parameters ...
> >
> >--mike
> >
> >Jeff Jensen wrote:
> >
> >
> >
> >>Thanks for the reply Mike. I will gladly try anything at this point!!
> >>:-|
> >>
> >>That change causes some type of recursion! Before it crashes, there
> >>are 7 nested "multiproject" dirs under the subproject build dir. And
> >>now nothing is under the multiproject build dir.
> >>
> >>Hmm, either using multiproject:site is not correct or this continues to
> >>point to something configured incorrectly...
> >>
> >>Any further thoughts very welcome! Thanks!
> >>
> >>
> >>Quoting Michael Niemaz <[EMAIL PROTECTED]>:
> >>
> >>
> >>
> >>
> >>
> >>>Try to replace
> >>>
> >>>maven.multiproject.site.goals=site,dashboard:report-single
> >>>
> >>>with
> >>>
> >>>maven.multiproject.site.goals=multiproject:site,dashboard:report-singl
> >>>e
> >>>
> >>>
> >>>Hope this helps,
> >>>
> >>>--mike
> >>>
> >>>Jeff Jensen wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>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
> >>>>
> >>>>
> >>>>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?
> >>>>
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>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]
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]