Lower maven central timeouts on Travis-CI
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/71366165 Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/71366165 Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/71366165 Branch: refs/heads/gearpump-runner Commit: 713661651befe72a844a181a33884d5f6c1e72e9 Parents: 7da1a3d Author: Kenneth Knowles <[email protected]> Authored: Thu Aug 4 15:18:13 2016 -0700 Committer: Kenneth Knowles <[email protected]> Committed: Tue Aug 9 09:59:05 2016 -0700 ---------------------------------------------------------------------- .travis.yml | 2 +- .travis/settings.xml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/71366165/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 43ae7de..4674bf3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,7 @@ install: - rm -rf "$HOME/.m2/repository/org/apache/beam" script: - - travis_retry mvn --batch-mode --update-snapshots $MAVEN_OVERRIDE verify + - travis_retry mvn --settings .travis/settings.xml --batch-mode --update-snapshots $MAVEN_OVERRIDE verify - travis_retry testing/travis/test_wordcount.sh cache: http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/71366165/.travis/settings.xml ---------------------------------------------------------------------- diff --git a/.travis/settings.xml b/.travis/settings.xml new file mode 100644 index 0000000..e086aec --- /dev/null +++ b/.travis/settings.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<settings> + <servers> + <server> + <id>central</id> + <configuration> + <httpConfiguration> + <all> + <connectionTimeout>1000</connectionTimeout> + </all> + </httpConfiguration> + <timeout>5000</timeout> + </configuration> + </server> + </servers> +</settings>
