Travis-CI: Work around issue with Maven

Recent builds have failed due to a bug in Maven. Setting `JAVA_HOME` is a temporary fix.