Fixed travis test of jar build.