Include git commit hash in jar version : <p>I'm using maven and my goal is to include the git commit hash in the version number. Something like : 1.1.{git_hash}. </p>

<p>I'm trying to follow this <a href="https://www.jayway.com/2012/04/07/continuous-deployment-versioning-and-git/" rel="noreferrer">tutorial</a>.</p>

<p>Q: is it possible to somehow override the version number specified in the version element of the pom file?</p>
