Stephen Gray wrote:

Thanks very much for that. I have one question though. If you use the goals
in maven.xml to deploy the site will they ever be seen? Is cruisecontrol not
going to be in a continuous loop?


I don't understand what your concern is here. A goal in a maven.xml is almost the same as a plugin. In your cruisecontrol build spec, you can use the maven cruisecontrol plugin (the maven runner for cruisecontrol, not the plugin to generate cruisecontrol.xml files!) to run a build using maven, instead of the more common ant runner. This plugin allows you to give a goal to execute when CC is building your software. You can specify your maven.xml goal there as wel as a list of goals (instead of using the maven.xml file). So instead of creating a maven.xml file, you can also specify:
jar:deploy-snapshot,site,site:sshdeploy


And if you are concerned this will create a loop in CC (which normally won't happen), you can always try it before you leave for the weekend, and monitor the output. No harm done then...

Martijn


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



Reply via email to