Most likely not going to work, because artifactId includes version. Why not remove this pom hack altogether?