Tweak pom.xml, settings.xml, and .travis.yml to fix build timeouts

Build with `mvn clean install --settings settings.xml` or copy
settings.xml to ~/.m2 and build with `mvn clean install`.