Fixed bug in pom files preventing deployment using maven plugin