Remove the version hardcoded and read it from Maven. One way to do this: https://stackoverflow.com/questions/3697449/retrieve-version-from-maven-pom-xml-in-code https://stackoverflow.com/questions/26551439/getting-maven-project-version-and-artifact-id-from-pom-while-running-in-eclipse/26573884#26573884
Remove the version hardcoded and read it from Maven.
One way to do this:
https://stackoverflow.com/questions/3697449/retrieve-version-from-maven-pom-xml-in-code
https://stackoverflow.com/questions/26551439/getting-maven-project-version-and-artifact-id-from-pom-while-running-in-eclipse/26573884#26573884