Skip to content

Commit ccfd0ce

Browse files
Upgraded to Tomcat March '26 release (#761)
The upgrade encompasses three Tomcat versions across different release lines: - Tomcat 9.0.116 (from the 9.0 line) - Tomcat 10.1.53 (from the 10.1 line) - Tomcat 11.0.20 (from the 11.0 line, designated as the new default)
1 parent 647398e commit ccfd0ce

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/main/scala/io/sdkman/changelogs/TomcatMigration.scala

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,4 +388,28 @@ class TomcatMigration {
388388
setCandidateDefault("tomcat", "11.0.18")
389389
}
390390

391+
@ChangeSet(
392+
order = "027",
393+
id = "027-update_tomcat_versions",
394+
author = "stefanpenndorf"
395+
)
396+
def migration027(implicit db: MongoDatabase): Document = {
397+
List(
398+
"9" -> "9.0.116",
399+
"10" -> "10.1.53",
400+
"11" -> "11.0.20"
401+
).map {
402+
case (series: String, version: String) =>
403+
Version(
404+
candidate = "tomcat",
405+
version = version,
406+
url =
407+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
408+
)
409+
}
410+
.validate()
411+
.insert()
412+
setCandidateDefault("tomcat", "11.0.20")
413+
}
414+
391415
}

0 commit comments

Comments
 (0)