Skip to content

Commit c5084f0

Browse files
Upgraded to Tomcat April '24 release (#688)
1 parent a383dd9 commit c5084f0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,31 @@ class TomcatMigration {
117117
setCandidateDefault("tomcat", "10.1.14")
118118
}
119119

120+
@ChangeSet(
121+
order = "016",
122+
id = "016-update_tomcat_versions",
123+
author = "stefanpenndorf"
124+
)
125+
def migration016(implicit db: MongoDatabase): Document = {
126+
removeVersion("tomcat", "11.0.0-M12")
127+
128+
List(
129+
"8" -> "8.5.100",
130+
"9" -> "9.0.88",
131+
"10" -> "10.1.20",
132+
"11" -> "11.0.0-M19"
133+
).map {
134+
case (series: String, version: String) =>
135+
Version(
136+
candidate = "tomcat",
137+
version = version,
138+
url =
139+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
140+
)
141+
}
142+
.validate()
143+
.insert()
144+
setCandidateDefault("tomcat", "10.1.14")
145+
}
146+
120147
}

0 commit comments

Comments
 (0)