You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2022/06/12 21:53:45 UTC
[creadur-rat] branch master updated: Add ability to link to SNAPSHOT version on download page
This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
The following commit(s) were added to refs/heads/master by this push:
new 1c695fc1 Add ability to link to SNAPSHOT version on download page
1c695fc1 is described below
commit 1c695fc160648025aecc9926ba2ab4bd6e7b37de
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Sun Jun 12 23:53:39 2022 +0200
Add ability to link to SNAPSHOT version on download page
---
pom.xml | 5 +++--
src/site/xdoc/download_rat.xml.vm | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 866c4e6f..56dc4699 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,8 +58,9 @@ agnostic home for software distribution comprehension and audit tools.
<mavenChangesVersion>2.12.1</mavenChangesVersion>
<mavenJavadocPluginVersion>3.4.0</mavenJavadocPluginVersion>
<mavenPmdPluginVersion>3.16.0</mavenPmdPluginVersion>
- <!-- Used to generate download page for RAT -->
- <previousRatVersion>0.13</previousRatVersion>
+ <!-- Used to generate download page for RAT during site builds, please adapt versions manually BEFORE doing a release -->
+ <previousRatVersion>0.14</previousRatVersion>
+ <currentSnapshotRatVersion>0.15-SNAPSHOT</currentSnapshotRatVersion>
</properties>
<distributionManagement>
<site>
diff --git a/src/site/xdoc/download_rat.xml.vm b/src/site/xdoc/download_rat.xml.vm
index 248cb6ca..18cf03dc 100644
--- a/src/site/xdoc/download_rat.xml.vm
+++ b/src/site/xdoc/download_rat.xml.vm
@@ -108,6 +108,22 @@ limitations under the License.
</table>
</subsection>
</section>
+
+ <div class="section">
+ <h2><a name="Apache_Creadur_Rat_${currentSnapshotRatVersion}"></a>${project.name} ${currentSnapshotRatVersion}</h2>
+
+ <div class="section">
+ <h3><a name="Snapshots"></a>Snapshots</h3>
+
+ <table border="0" class="bodyTable">
+ <tr class="a">
+ <td colspan="4"><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots/org/apache/rat">${project.name} ${currentSnapshotRatVersion}</a></td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ </div>
+
<section name="Archives">
<p>
Older releases can be obtained from the archives.