Hi,
> -----Original Message-----
> From: Laurent PETIT [mailto:[EMAIL PROTECTED]
> I have multiple subprojects which are continuously integrated with
> CruiseControl.
> I generate for each subproject the artifact, and install it.
>
> I also use CruiseControl to generate the whole site, with
> multiproject:site goal
>
> But as expected, all the artifacts are generated twice,
>
> Maybe I've skipped something, please could you tell me how you solve
> this waste of time/computer resource ?
>From what I understand, you only need to have one project in cruisecontrol
to trigger your multiproject goals.
just make sure the modificationset for the multiproject goal is an aggregation
of the modificationset for the subprojects.
my cruisecontrol maven line looks like that:
<maven goal="-Dgoal=scm:update-project multiproject:goal|
-Dmaven.test.reportsDirectory=/path/to/multiproject/target/test-reports
-Dgoal=clean,test,site multiproject:goal"
projectfile="/path/to/multiproject/project.xml"
mavenscript="/path/to/maven/bin/maven">
you need to specify maven.test.reportsDirectory so the test reports for all the
subproject will fall
under and get analyzed/displayed by cruisecontrol.
hope this help
cheers,
Patrick
NOTICE
This e-mail and any attachments are confidential and may contain copyright
material of Macquarie Bank or third parties. If you are not the intended
recipient of this email you should not read, print, re-transmit, store or act
in reliance on this e-mail or any attachments, and should destroy all copies of
them. Macquarie Bank does not guarantee the integrity of any emails or any
attached files. The views or opinions expressed are the author's own and may
not reflect the views or opinions of Macquarie Bank.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]