Skip to content

Commit 435d41f

Browse files
stefanbirknermarcphilipp
authored andcommitted
Use Google's Maven Central mirror
We are using Maven 3.1.1 which by default uses HTTP instead of HTTPS for resolving artifacts from Maven Central. Maven Central recently discontinued HTTP support. Therefore the build on Travis started failing. By using an HTTPS mirror of Maven Central the build on Travis will work again. I chose Google's mirror because Travis uses this mirror by default, too. I did not upgrade to a new version of Maven because there is no newer version with Java 5 support and it should be possible to build JUnit 4 with Java 5 so that we can easily ensure that it works with Java 5.
1 parent 95af976 commit 435d41f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.settings.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
<settings>
2+
<mirrors xmlns="http://maven.apache.org/SETTINGS/1.1.0">
3+
<mirror>
4+
<mirrorOf>central</mirrorOf>
5+
<name>GCS Maven Central mirror</name>
6+
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
7+
<id>google-maven-central</id>
8+
</mirror>
9+
</mirrors>
210
<servers>
311
<server>
412
<id>junit-snapshot-repo</id>

0 commit comments

Comments
 (0)