Extract repeated artifact versions to properties in pom