How to implement auto-incrementing build number in maven project?
Current version of my project is 0.9 and I'd like this from 0.9.1 to 0.9.2 and so on every build.
I've been searching for this but I couldn't get anything to work.
I've tried this question,also tried maven build number plugin and I've tried this blog, but nothing seems to work.
I tried the maven version plugin but it changes the jar name to app-0.9.[commit_hashcode].jar but I don't want this.
I want the jar name to be app-0.9.jar and I want to access the build number from a properties file or something.