fixing pom.xml and improved travis script