Adding modify pom.xml according to Jenkins version

Also made the whole thing look nicer! ;-)
Merge pull request #1 from tarciosaraiva/patch-1

Adding modify pom.xml according to Jenkins version