I have a spring boot app which is built to PCF with Concourse. I want to be able bump the pom build version number during the build.
I'd like to use a version file and the semver resource, however once I have the version number how can I pass the value to my maven command?
E.g.
package -Dbuild.version=version
How can I pass this version between tasks, to my build task?