[go: nahoru, domu]

Skip to content

Commit

Permalink
Use Google's Maven Central mirror
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stefanbirkner authored and marcphilipp committed Feb 19, 2020
1 parent 95af976 commit 435d41f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.settings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<settings>
<mirrors xmlns="http://maven.apache.org/SETTINGS/1.1.0">
<mirror>
<mirrorOf>central</mirrorOf>
<name>GCS Maven Central mirror</name>
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
<id>google-maven-central</id>
</mirror>
</mirrors>
<servers>
<server>
<id>junit-snapshot-repo</id>
Expand Down

0 comments on commit 435d41f

Please sign in to comment.