I am using Cruise Control for continuous integration and I run nightly snapshot builds using the deploy goal. I would like to use the same tag (UTC + build number) that is applied to the deployed jars to tag the source in subversion. That way I would always be able to check out the source that was used to build a given jar file.
It's not clear to me how to obtain the tag assigned during the deployment nor how to pass this tag to the scm:tag goal using Cruise Control. Has anyone attempted this before, and, if so, how did you manage it?