added failonerror command in pom.xml