Git Describe Maven Plugin · This plugin is designed to give you a build number. So when you might make 100 builds of version 1.0-SNAPSHOT, you can differentiate between them all. It does this by taking the output of git describe and saving it into a Maven build variable, so you can reference the value in your POM.