views:

50

answers:

1

I'm working on a product which relies on several different projects each hosted in its own Git repository. When a release is made, it would be ideal for us to consistently tag every project that is involved in building the product - this includes the core code, libraries and build tools. Is there an obvious and sensible way to tag all projects at once?

(It may be a distraction, or might be worth noting that each project is using Maven; perhaps there are plugins for managing this. If so, I've not found any.)

+1  A: 

The question is a bit broad (at least for me) in its current state but the Maven Release plugin might help to do things in a consistent way. Pay a special attention to the Prepare a Release example.

Pascal Thivent
This looks excellent - thanks. I will investigate and see how suitable it is.
Alison
@Ali This plugin captures and automates a lot of good practices and *is* extremely useful. Check it out.
Pascal Thivent
Using maven-release-plugin seems to be a much better approach than my idea of tagging everything manually - it makes sure that non-SNAPSHOT releases are consistently tagged in the repository. Thanks, Pascal.
Alison