maven,release,snapshot,maven-deploy-plugin,deploying
This sounds more like a second execution of maven-jar-plugin (after removing things) and this will result in automatic upload via mvn deploy no need to do such weird things... Or may be using maven-assembly-plugin which creates a supplemental artifacts (one or more)...or maybe maven-shade-plugin. I'm not sure how you stripping...
tl;dr: the deploy-file mojo doesn't inherit the version number from the parent project, so it must be in the pom directly or specified as -Dversion=... parameter. Depending on how you look at it, this is either a bug or a lack in the documentation. The source for the deploy plugin...
maven,maven-release-plugin,maven-deploy-plugin
You should take a look into flatten-maven-plugin which seemed to be the right direction.