Update Travis file to test across a variety of JDK implementations and to use Maven.