maven command to get project version 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