Including application version number from pom.xml to application bundle
问题 Each pom.xml have: <groupId>com.vendor</groupId> <artifactId>product</artifactId> <version>1.0.13.0-dev</version> <!-- THIS FIELD --> <packaging>war</packaging> version piece is useful to bunch with application so user can see and report them. But I dislike code duplication and look for a way to avoid putting property file with version info to VCS (Git/SVN) because each time I bump version I must commit into two places ( pom.xml and version.properties ). Which way can I make version