Use Ant for building the project with Travis.

By default Travis uses ant for building the project because there is a pom.xml.