You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2017/05/25 13:48:55 UTC
[09/50] [abbrv] ant-ivy git commit: Seems there is one last Maven 1
repo available
Seems there is one last Maven 1 repo available
Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/09b1a632
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/09b1a632
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/09b1a632
Branch: refs/heads/xooki2asciidoc
Commit: 09b1a632c17b34650d2bcf748be14690c9882e52
Parents: 8cba88f
Author: Nicolas Lalevée <ni...@hibnet.org>
Authored: Mon Sep 7 01:28:55 2015 +0200
Committer: Nicolas Lalevée <ni...@hibnet.org>
Committed: Mon Sep 7 01:28:55 2015 +0200
----------------------------------------------------------------------
test/java/org/apache/ivy/plugins/resolver/IBiblioHelper.java | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/09b1a632/test/java/org/apache/ivy/plugins/resolver/IBiblioHelper.java
----------------------------------------------------------------------
diff --git a/test/java/org/apache/ivy/plugins/resolver/IBiblioHelper.java b/test/java/org/apache/ivy/plugins/resolver/IBiblioHelper.java
index 131de90..3b06d8e 100644
--- a/test/java/org/apache/ivy/plugins/resolver/IBiblioHelper.java
+++ b/test/java/org/apache/ivy/plugins/resolver/IBiblioHelper.java
@@ -34,15 +34,13 @@ public class IBiblioHelper {
public static String getIBiblioMirror() throws Exception {
if (!_checked) {
- String[] mirrors = new String[] {"https://repo1.maven.org/maven/REPOSITORY-V1.txt",
- "http://www.ibiblio.org/maven"};
- String[] mirrorsRoot = new String[] {"https://repo1.maven.org/maven",
- "http://www.ibiblio.org/maven"};
+ String[] mirrors = new String[] {"http://mirrors.ibiblio.org/maven"};
+ String[] mirrorsRoot = new String[] {"http://mirrors.ibiblio.org/maven"};
long best = -1;
for (int i = 0; i < mirrors.length; i++) {
long start = System.currentTimeMillis();
- if (handler.isReachable(new URL(mirrors[i]), 300)) {
+ if (handler.isReachable(new URL(mirrors[i]), 500)) {
long took = System.currentTimeMillis() - start;
System.out.println("reached " + mirrors[i] + " in " + took + "ms");
if (best == -1 || took < best) {