From e6f4ba4b611c19ef626b7fb8a6aa3c6b540421eb Mon Sep 17 00:00:00 2001 From: Mirko Friedenhagen Date: Wed, 28 Nov 2018 16:35:08 +0100 Subject: [PATCH] Use maven-wrapper again * Inbetween installation of Maven versions got lost * This makes CI more useful again by testing variations of JDK and Maven. * Using newest takari Maven wrapper 0.6.1 is not possible because it is compiled with target JDK 8 --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index faaea223..48ce5641 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,10 @@ jdk: - openjdk11 - openjdk-ea install: - - "mvn --show-version --errors --batch-mode validate dependency:go-offline" -script: "mvn --show-version --errors --batch-mode clean verify" + - "mvn -N io.takari:maven:0.4.3:wrapper -Dmaven=${MAVEN_VERSION} -Dhttps.protocols=TLSv1.2" + - "./mvnw --show-version --errors --batch-mode validate dependency:go-offline" +script: + - "./mvnw --show-version --errors --batch-mode clean verify" cache: directories: - $HOME/.m2