From ade88667a7d7251140e5296f5c000be2bf8e8a8f Mon Sep 17 00:00:00 2001 From: jhpoelen Date: Thu, 6 Sep 2018 10:52:31 -0700 Subject: [PATCH] attempt to override travis maven settings.xml to avoid slow repositories --- .travis.settings.xml | 122 +++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 2 + 2 files changed, 124 insertions(+) create mode 100644 .travis.settings.xml diff --git a/.travis.settings.xml b/.travis.settings.xml new file mode 100644 index 0000000..d9ee9d4 --- /dev/null +++ b/.travis.settings.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + diff --git a/.travis.yml b/.travis.yml index 97d7676..a56488d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: java jdk: - oraclejdk8 install: mvn --version +before_install: + - cp .travis.settings.xml $HOME/.m2/settings.xml before_script: "./.travis.version_if_tag.sh" after_success: "./.travis.deploy_if_tag.sh" cache: