# Source language and JDK version to use.
language: java
jdk: oraclejdk7
notifications:
  slack: minecraftmeetup:AiAhEAtGvIFVU9ahZZwliFFc
before_install:
  - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
  

# Source language and JDK version to use.
language: java
jdk: oraclejdk8
before_install:
  - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml

Update to use Java 8
Update to use Java 8

Java 7 seems to fail. Maybe Travis does not support it anymore.