appVersion in maven using sh code example
Example: pom extract version linux
mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec
mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec