From 5eafcba261b4d7e1f47954a4bfe992c61afa71bf Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 14 Dec 2023 18:33:53 +0100 Subject: [PATCH 1/2] Hyperlink Smack's Maven coordinates --- src/main/webapp/includes/download-box-smack.jspf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/includes/download-box-smack.jspf b/src/main/webapp/includes/download-box-smack.jspf index ce1b831e..8b94471b 100644 --- a/src/main/webapp/includes/download-box-smack.jspf +++ b/src/main/webapp/includes/download-box-smack.jspf @@ -4,10 +4,14 @@ <% String path = request.getContextPath(); String buildsPath = application.getInitParameter("builds-path"); - String mavenCoordinates = "unknown"; + String mavenCoordinates = "org.igniterealtime.smack" + + ":smack-java8-full:"; + String version = Versions.getVersion("smack"); if (version != null) { - mavenCoordinates = "org.igniterealtime.smack:smack-java8-full:" + version; + mavenCoordinates += version; + } else { + mavenCoordinates += "[version]"; } %> From 8cac483f724887172ec31fd68ff70bf255920457 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 14 Dec 2023 18:42:56 +0100 Subject: [PATCH 2/2] Update Smack's description --- src/main/webapp/includes/download-box-smack.jspf | 2 +- src/main/webapp/projects/index.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/includes/download-box-smack.jspf b/src/main/webapp/includes/download-box-smack.jspf index 8b94471b..d68667bd 100644 --- a/src/main/webapp/includes/download-box-smack.jspf +++ b/src/main/webapp/includes/download-box-smack.jspf @@ -32,7 +32,7 @@

Smack <%= version %>

-

Easy to use Java XMPP client library.

+

Modular, portable and easy to use XMPP client library for Android and Java.

Maven Coordinates: <%= mavenCoordinates %> diff --git a/src/main/webapp/projects/index.jsp b/src/main/webapp/projects/index.jsp index 38836379..a2bdf228 100644 --- a/src/main/webapp/projects/index.jsp +++ b/src/main/webapp/projects/index.jsp @@ -58,7 +58,7 @@

Smack <%= Versions.getVersion("smack") %>

-

Easy to use Java XMPP client library.

+

Modular, portable and easy to use XMPP client library for Android and Java.

Learn More