Skip to content
Permalink
Browse files
1.0.5 download link
  • Loading branch information
rmannibucau committed Feb 23, 2022
1 parent 5e8ee99 commit 1a327b0fe20f158637cf0c071b1e606adcccd1a8
Showing 2 changed files with 27 additions and 6 deletions.
@@ -21,9 +21,10 @@ License under Apache License v2 (ALv2).
[.table.table-bordered,options="header"]
|===
|Name|Version|Date|Size|Type|Links
|Arthur Source Release|1.0.4|2022-01-26 10:47:39|573 kB|zip| https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.4/arthur-1.0.4-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.4/arthur-1.0.4-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.4/arthur-1.0.4-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.1|2021-01-08 11:29:49|539 kB|zip| https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.1/arthur-1.0.1-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.1/arthur-1.0.1-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.1/arthur-1.0.1-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.0|2019-12-05 08:44:02|502 kB|zip| https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.0/arthur-1.0.0-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.0/arthur-1.0.0-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.0/arthur-1.0.0-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.3|2021-08-30 15:08:48|573 kB|zip| https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.3/arthur-1.0.3-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.3/arthur-1.0.3-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.3/arthur-1.0.3-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.2|2021-02-11 11:12:23|539 kB|zip| https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.2/arthur-1.0.2-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.2/arthur-1.0.2-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.2/arthur-1.0.2-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.5|2022-02-14 17:00:24|574 kB|zip|https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.5/arthur-1.0.5-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.5/arthur-1.0.5-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.5/arthur-1.0.5-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.4|2022-01-26 10:47:39|573 kB|zip|https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.4/arthur-1.0.4-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.4/arthur-1.0.4-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.4/arthur-1.0.4-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.3|2021-08-30 15:08:48|573 kB|zip|https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.3/arthur-1.0.3-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.3/arthur-1.0.3-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.3/arthur-1.0.3-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.2|2021-02-11 11:12:23|539 kB|zip|https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.2/arthur-1.0.2-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.2/arthur-1.0.2-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.2/arthur-1.0.2-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.1|2021-01-08 11:29:49|539 kB|zip|https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.1/arthur-1.0.1-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.1/arthur-1.0.1-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.1/arthur-1.0.1-source-release.zip.asc[icon:download[] asc]
|Arthur Source Release|1.0.0|2019-12-05 08:44:02|502 kB|zip|https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.0/arthur-1.0.0-source-release.zip[icon:download[] zip] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.0/arthur-1.0.0-source-release.zip.sha1[icon:download[] sha1] https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.0/arthur-1.0.0-source-release.zip.asc[icon:download[] asc]
|===
@@ -86,7 +86,7 @@ private String toDownloadLine(final DateTimeFormatter dateFormatter, final Downl
"|" + dateFormatter.format(d.date) +
"|" + d.size +
"|" + d.format +
"| " + d.url.replace(ASF_RELEASE_BASE, MVN_BASE) + "[icon:download[] " + d.format + "] " +
"|" + d.url.replace(ASF_RELEASE_BASE, MVN_BASE) + "[icon:download[] " + d.format + "] " +
(d.sha512 != null ? d.sha512 + "[icon:download[] sha512] " : d.sha1 + "[icon:download[] sha1] ") +
d.asc + "[icon:download[] asc]";
}
@@ -100,6 +100,26 @@ private int compareVersions(final Download o1, final Download o2) {
if (o1.version.startsWith(o2.version) && o1.version.contains("-M")) { // milestone
return 1;
}

final String[] v1 = o1.version.split("\\.");
final String[] v2 = o2.version.split("\\.");
for (int i = 0; i < Math.max(v1.length, v2.length); i++) {
if (v1.length == i) {
return 1;
}
if (v2.length == i) {
return -1;
}
try {
final int diff = Integer.parseInt(v2[i]) - Integer.parseInt(v1[i]);
if (diff != 0) {
return diff;
}
} catch (final NumberFormatException nfe) {
break; // use plain string comparison
}
}

return versionComp;
}

0 comments on commit 1a327b0

Please sign in to comment.