CruiseControl will build a project if another project successfully builds. This is controlled by the <buildstatus> tag in cruisecontrol.xml. This functionality allows a project to be build when one of it's depend jars is built, even though the project has not changed.
Suggested implementation:
1) Add the property "maven.cruisecontrol.triggerProjects". This property contains a list of cruisecontrol projects that will trigger the current project to build.
2) In cruisecontrol.jsl, generate a <buildstatus> tag for each item in the property list.
<buildstatus logdir="${maven.cruisecontrol.logs.dir}/${item}">
Example:
maven.cruisecontrol.triggerProjects=proj_a, proj_b
output file cruisecontrol.xml:
<cruisecontrol>
...
<project name="proj_c">
...
<modificationset>
<buildstatus logdir="c:\cc\cc-logs\proj_a">
<buildstatus logdir="c:\cc\cc-logs\proj_b">
..
</modificationset>
..
<log dir="c:\cc\cc-logs\proj_c">
..
</project>
<cruisecontrol>
I went ahead and implemented this for you. Can you verify the fix? I'll then move to cutting 1.5.