Adding modify pom.xml according to Jenkins version

Also made the whole thing look nicer! ;-)