git commit id などを、埋め込んでくれるmaven plugin
git attributes ident
とか
filter
とかで、問題がないならいいのだが、
eclise のegitだと git attributes をサポートしていないようなので(357039 – EGit does not handle .gitattributes ident)
javaなら
GitHub - git-commit-id/maven-git-commit-id-plugin: Maven plugin which includes build-time git repository information into an POJO / *.properties). Make your apps tell you which version exactly they were built from! Priceless in large distributed deployments... :-)