Swithed to "Maven JGit Build Number Plugin", since the normal build number plugin is not getting any data in the buildNumber property when running on Git.