Came up with a one liner in case if someone else needs it. If you think
it can be improvised, please feel free to improvise. Rest of it can fit
in the shell script nicely.
curl https://tomcat.apache.org/doap_Tomcat.rdf | grep -A2 "Latest Stable
9.0.x Release" | grep "<revision>" | sed "s#</\?revision>##g"
Regards,
Niranjan
On 9/3/22 11:15, Mark Thomas wrote:
Hi,
The short answer is no. You are going to have to parse something and
then construct the URL from the result.
I can think of a couple of options.
1. https://tomcat.apache.org/doap_Tomcat.rdf
2. The download page
3. https://dlcdn.apache.org/tomcat/tomcat-10/
You might also be able to do something with a dummy Maven project and
a dependency on org.apache.tomcat:tomcat and an appropriate version
range.
Mark
On 03/09/2022 00:27, NH Rao wrote:
Greetings,
I am looking for a perma link or similar which won't go away and
point to
latest version of tomcat for the currently supported major versions.
Official downloads page points to latest minor release of the major
version
e.g. https://tomcat.apache.org/download-90.cgi and download links keep
changing.
Is there any way to get latest version link or latest version and
then us
forming the url from tomcat website. We have scripts that download
whatever
latest version available and run some tests and link keeps breaking.
Regards,
Niranjan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org