You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/04/10 21:34:42 UTC

[maven-surefire] branch travis-settingsxml created (now 4d311c3)

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a change to branch travis-settingsxml
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git.


      at 4d311c3  Maven settings.xml for the TravisCI

This branch includes the following new commits:

     new 4d311c3  Maven settings.xml for the TravisCI

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-surefire] 01/01: Maven settings.xml for the TravisCI

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch travis-settingsxml
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 4d311c36851af4a76e48199f5571b05eed707294
Author: tibordigana <ti...@apache.org>
AuthorDate: Fri Apr 10 23:34:34 2020 +0200

    Maven settings.xml for the TravisCI
---
 .travis-settings.xml | 32 ++++++++++++++++++++++++++++++++
 .travis.yml          |  4 ++--
 2 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/.travis-settings.xml b/.travis-settings.xml
new file mode 100644
index 0000000..37f0ed6
--- /dev/null
+++ b/.travis-settings.xml
@@ -0,0 +1,32 @@
+<?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 xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
+    <mirrors>
+        <mirror>
+            <id>maven-remote-repo</id>
+            <name>Maven Repository</name>
+            <url>https://repo.maven.apache.org/maven2</url>
+            <mirrorOf>central</mirrorOf>
+        </mirror>
+    </mirrors>
+</settings>
diff --git a/.travis.yml b/.travis.yml
index 39df7f2..66a9dd6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,10 +28,10 @@ jdk: openjdk8
 jobs:
   include:
     - stage: repo cleanup
-      script: mvn -e -B -V -nsu org.apache.maven.plugins:maven-dependency-plugin:3.1.1:purge-local-repository
+      script: mvn -e -B -V -nsu -s .travis-settings.xml org.apache.maven.plugins:maven-dependency-plugin:3.1.1:purge-local-repository
 
     - stage: mvn build
-      script: mvn clean install -e -B -V -nsu -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+      script: mvn clean install -e -B -V -nsu -s .travis-settings.xml -P run-its -DskipITs -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
 
 branches:
   only: