svn commit: r1083985 - in /websites/production/geronimo/content/arthur: downloads.html maven.html

[email protected] Mon, 21 Aug 2023 19:00:31 -0000
Newsgroups gmane.comp.java.geronimo.cvs
Message-ID <[email protected]>
Author: rmannibucau
Date: Mon Aug 21 19:00:31 2023
New Revision: 1083985

Log:
updating download page

Modified:
    websites/production/geronimo/content/arthur/downloads.html
    websites/production/geronimo/content/arthur/maven.html

Modified: websites/production/geronimo/content/arthur/downloads.html
==============================================================================
--- websites/production/geronimo/content/arthur/downloads.html (original)
+++ websites/production/geronimo/content/arthur/downloads.html Mon Aug 21 19:00:31 2023
@@ -111,6 +111,14 @@
 <tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Arthur Source Release</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">1.0.6</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">2022-04-21 20:37:59</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">575 kB</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">zip</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://repo.maven.apache.org/maven2/org/apache/geronimo/arthur/arthur/1.0.6/arthur-1.0.6-source-release.zip"><span class="icon"><i class="fa fa-download"></i></span> zip</a> <a href="https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.6/arthur-1.0.6-source-release.zip.sha1"><span class="icon"><i class="fa fa-download"></i></span> sha1</a> <a href="https://repository.apache.org/content/repositories/releases/org/apache/geronimo/arthur/arthur/1.0.6/arthur-1.0.6-source-release.zip.asc"><span class="icon"><i class="fa fa-download"></i></span> asc</a></p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Arthur Source Release</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">1.0.5</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">2022-02-14 17:00:24</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">574 kB</p></td>

Modified: websites/production/geronimo/content/arthur/maven.html
==============================================================================
--- websites/production/geronimo/content/arthur/maven.html (original)
+++ websites/production/geronimo/content/arthur/maven.html Mon Aug 21 19:00:31 2023
@@ -146,6 +146,49 @@ You will find all the details of that fe
 </li>
 </ol>
 </div>
+<div class="sect2">
+<h3 id="_tip_on_graalversion">Tip on graalVersion</h3>
+<div class="paragraph">
+<p>Apache Arthur is able to deduce the download URL of Graal distribution if it is not explicit configured from <code>graalVersion</code>.
+This enables to avoid to handle the platform with profiles in your own build.
+Here are the supported download flavors:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>If a download URL is set starting with <code><a href="https://api.sdkman.io/2/broker/download/java/" class="bare">https://api.sdkman.io/2/broker/download/java/</a></code> it will be used (SDKMan). Note that SDKMan does not guanratee your version will be resolvable after some time so good for tests mainly. <code>graalVersion</code> is the SDKMan version,</p>
+</li>
+<li>
+<p>Else by default we use <code><a href="https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz" class="bare">https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz</a></code>. <code>graalVersion</code> is <code>$graalVersion.r$mainJavaVersion</code>, ex: <code>22.0.3.r17</code>,</p>
+</li>
+<li>
+<p>Else if <code>graalVersion</code> is <code>$javaVersion-graalce</code> we use <code><a href="https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$javaVersion/graalvm-community-jdk-$javaVersion_${githubPlatform2}_bin.tar.gz" class="bare">https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$javaVersion/graalvm-community-jdk-$javaVersion_${githubPlatform2}_bin.tar.gz</a></code>,</p>
+</li>
+<li>
+<p>Else if <code>graalVersion</code> is <code>$javaVersion-graal-oracle</code> we use <code><a href="https://download.oracle.com/graalvm/$javaVersion/latest/graalvm-jdk-$javaVersion_${githubPlatform2}_bin.tar.gz" class="bare">https://download.oracle.com/graalvm/$javaVersion/latest/graalvm-jdk-$javaVersion_${githubPlatform2}_bin.tar.gz</a></code>,</p>
+</li>
+<li>
+<p>Else we use the provided download url which can use the following placeholders:</p>
+<div class="ulist">
+<ul>
+<li>
+<p><code>graalSimpleVersion</code>: if there is a <code>.r$javaVersion</code> at the end of the <code>graalVersion</code> it is the version without this suffix else <code>graalVersion</code>,</p>
+</li>
+<li>
+<p><code>graalJavaVersion</code>: <code>graalVersion</code> sanitized from its suffix (<code>.r$javaVersion</code>, <code>-graalce</code>, <code>-graal-oracle</code>),</p>
+</li>
+<li>
+<p><code>githubPlatform</code>: platform deduced from the running JVM one (build one), it ends with <code>-amd64</code>,</p>
+</li>
+<li>
+<p><code>githubPlatform2</code>: platform deduced from the running JVM one (build one), it ends with <code>-x64</code> - <code>graalce</code>/<code>graal-oracle</code> cases.</p>
+</li>
+</ul>
+</div>
+</li>
+</ul>
+</div>
+</div>
 </div>
 </div>
 <div class="sect1">
@@ -452,7 +495,7 @@ Here is the full list of available confi
 <p>In case Graal must be downloaded to get native-image, where to take it from.</p>
 </div>
 <div class="paragraph">
-<p><strong>Default value</strong>: <a href="https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz" class="bare">https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz</a></p>
+<p><strong>Default value</strong>: auto</p>
 </div>
 <div class="paragraph">
 <p><strong>User property</strong>: arthur.graalDownloadUrl</p>
@@ -488,7 +531,7 @@ Here is the full list of available confi
 <td class="tableblock halign-left valign-top"><p class="tableblock">graalVersion</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">String</p></td>
 <td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
-<p>In case Graal must be downloaded to get native-image, which version to download.It contains the graal version and can be suffixed by the graal java version prefixed with "r" (as on sdkman).</p>
+<p>In case Graal must be downloaded to get native-image, which version to download.It contains the graal version and can be suffixed by the graal java version prefixed with "r" (as on sdkman).Alternatively, in more recent version you can use "$javaVersion-graalce" or "$javaVersion-graal-oracle" to use the appropriated mirror.</p>
 </div>
 <div class="paragraph">
 <p><strong>Default value</strong>: 20.3.0.r8</p>
@@ -1274,7 +1317,7 @@ With previous output, the image will get
 <p>In case Graal must be downloaded to get native-image, where to take it from.</p>
 </div>
 <div class="paragraph">
-<p><strong>Default value</strong>: <a href="https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz" class="bare">https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz</a></p>
+<p><strong>Default value</strong>: auto</p>
 </div>
 <div class="paragraph">
 <p><strong>User property</strong>: arthur.graalDownloadUrl</p>
@@ -1297,7 +1340,7 @@ With previous output, the image will get
 <td class="tableblock halign-left valign-top"><p class="tableblock">graalVersion</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">String</p></td>
 <td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
-<p>In case Graal must be downloaded to get native-image, which version to download.It contains the graal version and can be suffixed by the graal java version prefixed with "r" (as on sdkman).</p>
+<p>In case Graal must be downloaded to get native-image, which version to download.It contains the graal version and can be suffixed by the graal java version prefixed with "r" (as on sdkman).Alternatively, in more recent version you can use "$javaVersion-graalce" or "$javaVersion-graal-oracle" to use the appropriated mirror.</p>
 </div>
 <div class="paragraph">
 <p><strong>Default value</strong>: 20.3.0.r8</p>
@@ -1702,7 +1745,7 @@ Also note that some applications will re
 <p>In case Graal must be downloaded to get native-image, where to take it from.</p>
 </div>
 <div class="paragraph">
-<p><strong>Default value</strong>: <a href="https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz" class="bare">https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graalSimpleVersion}/graalvm-ce-java${graalJavaVersion}-${githubPlatform}-${graalSimpleVersion}.tar.gz</a></p>
+<p><strong>Default value</strong>: auto</p>
 </div>
 <div class="paragraph">
 <p><strong>User property</strong>: arthur.graalDownloadUrl</p>
@@ -1725,7 +1768,7 @@ Also note that some applications will re
 <td class="tableblock halign-left valign-top"><p class="tableblock">graalVersion</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">String</p></td>
 <td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
-<p>In case Graal must be downloaded to get native-image, which version to download.It contains the graal version and can be suffixed by the graal java version prefixed with "r" (as on sdkman).</p>
+<p>In case Graal must be downloaded to get native-image, which version to download.It contains the graal version and can be suffixed by the graal java version prefixed with "r" (as on sdkman).Alternatively, in more recent version you can use "$javaVersion-graalce" or "$javaVersion-graal-oracle" to use the appropriated mirror.</p>
 </div>
 <div class="paragraph">
 <p><strong>Default value</strong>: 20.3.0.r8</p>