Skip to content

Commit 6ccb9c8

Browse files
StefanPenndorfmarc0der
authored andcommitted
Upgraded to Tomcat August '25 release
Upgrade includes - Tomcat 9.0.108 from 9.0 line - Tomcat 10.1.44 from 10.1 line - Tomcat 11.0.10 from 11.0 line (will be the new default version)
1 parent a8e426c commit 6ccb9c8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,28 @@ class TomcatMigration {
293293
setCandidateDefault("tomcat", "11.0.7")
294294
}
295295

296+
@ChangeSet(
297+
order = "023",
298+
id = "023-update_tomcat_versions",
299+
author = "stefanpenndorf"
300+
)
301+
def migration023(implicit db: MongoDatabase): Document = {
302+
List(
303+
"9" -> "9.0.108",
304+
"10" -> "10.1.44",
305+
"11" -> "11.0.10"
306+
).map {
307+
case (series: String, version: String) =>
308+
Version(
309+
candidate = "tomcat",
310+
version = version,
311+
url =
312+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
313+
)
314+
}
315+
.validate()
316+
.insert()
317+
setCandidateDefault("tomcat", "11.0.10")
318+
}
319+
296320
}

0 commit comments

Comments
 (0)