title: Using Maven, Git: How do I tag the latest version of my code?
body: <p>I'm using Maven 3.0.3 with Git.  I use an integration tool (Bamboo) to check out a branch of code from Git into a directory.  The tool then uses Maven run the standard build lifecycle (compile, test, deploy).  What I want is that if my Maven deploy task succeeds, I want to tag the version of my code that is checked out in Git.  How can I do this from Maven?  Any sample configurations you can provide are greatly appreciated.</p>