I would like to set a variable in my swf at compile time that reads the current commit/branch from git and also edits the pom.xml with that name as the artifact id. I want to do this so that I can query a swf and retreive which version of the maven build it is.
Is this possible, and which plugins would I use to do this?
I have done this sort of thing using ANT in the past, but I need to be able to do it using Maven instead. My searches on the internet have mostly revealed ways to do this in Java but not in Actionscript.