Eliminate duplicate pom.xml code by using a named property

@Wulfspider I didn't think you would want me touching the pom.xml without your eyes. So I made a PR.

Signed-off-by: Jack Huey kitskub@gmail.com