I would like to be able to fail a build if a tag already exists for the given version of a pom (ideally if the version is not a SNAPSHOT). This is to stop developers modifying code without incrementing the version in the pom.
Controlled release builds would be done through a CI tool such as Cruisecontrol and would build the version and then do something like scm:tag to tag it all. Any ideas? The scm plugin doesn't seem to provide a way of checking if a tag exists. The only other way I can think is to have an ant script that is run first in the CI build to check if the tag exists, then the maven build run afterwards. Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networks Limited Enterprise House Navigation Park Abercynon CF45 4SN t: +44 (0)844 546 0100 f: +44 (0)844 546 0200 w: www.inuknetworks.com This e-mail is confidential and intended solely for the use of the individual(s) to whom it is addressed. Any views or opinions expressed are those of the author. If you are not the intended recipient, please be advised that any use, dissemination, printing or copying of this email is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
