language: java
jdk:
  - oraclejdk7
  - oraclejdk8
install: "mvn --show-version --errors --batch-mode validate dependency:go-offline"
script: "mvn --show-version --errors --batch-mode clean verify site"
cache:
    directories:
    - $HOME/.m2
branches:
    except:
        - gh-pages
notifications:
    email:
        - mfriedenhagen@apache.org

language: java
env:
  - MAVEN_VERSION=3.0.5
  - MAVEN_VERSION=3.3.3
jdk:
  - oraclejdk7
  - oraclejdk8
install:
  - "mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN_VERSION}"
  - "./mvnw --show-version --errors --batch-mode validate dependency:go-offline"
script: "./mvnw --show-version --errors --batch-mode clean verify site"
cache:
    directories:
    - $HOME/.m2
branches:
    except:
        - gh-pages
notifications:
    email:
        - mfriedenhagen@apache.org

Use takari wrapper to run with different Maven versions.
Use takari wrapper to run with different Maven versions.
