Commit d07493336365c38f0225cdcb982109b95833c422
1 parent
feb9f07b
Fix travis build to use https maven gradle repository
Showing
2 changed files
with
30 additions
and
0 deletions
.travis.settings.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!-- | |
3 | + | |
4 | + Copyright © 2016-2020 The Thingsboard Authors | |
5 | + | |
6 | + Licensed under the Apache License, Version 2.0 (the "License"); | |
7 | + you may not use this file except in compliance with the License. | |
8 | + You may obtain a copy of the License at | |
9 | + | |
10 | + http://www.apache.org/licenses/LICENSE-2.0 | |
11 | + | |
12 | + Unless required by applicable law or agreed to in writing, software | |
13 | + distributed under the License is distributed on an "AS IS" BASIS, | |
14 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
15 | + See the License for the specific language governing permissions and | |
16 | + limitations under the License. | |
17 | + | |
18 | +--> | |
19 | +<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" | |
20 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
21 | + <mirrors> | |
22 | + <mirror> | |
23 | + <id>gradle-fix</id> | |
24 | + <name>Gradle fix</name> | |
25 | + <url>https://repo.gradle.org/gradle/libs-releases-local</url> | |
26 | + <mirrorOf>gradle</mirrorOf> | |
27 | + </mirror> | |
28 | + </mirrors> | |
29 | +</settings> | ... | ... |
... | ... | @@ -3,6 +3,7 @@ before_install: |
3 | 3 | - export M2_HOME=/usr/local/maven |
4 | 4 | - export MAVEN_OPTS="-Dmaven.repo.local=$HOME/.m2/repository -Xms1024m -Xmx3072m" |
5 | 5 | - export HTTP_LOG_CONTROLLER_ERROR_STACK_TRACE=false |
6 | + - cp .travis.settings.xml $HOME/.m2/settings.xml | |
6 | 7 | jdk: |
7 | 8 | - openjdk8 |
8 | 9 | language: java | ... | ... |