Skip to content

Commit b1f1d69

Browse files
StefanPenndorfmarc0der
authored andcommitted
Upgraded to Tomcat February '25 release
Upgrade includes - Tomcat 9.0.100 from 9.0 line - Tomcat 10.1.36 from 10.1 line - Tomcat 11.0.4 from 11.0 line (will be new default version)
1 parent 206fa05 commit b1f1d69

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
@@ -197,4 +197,28 @@ class TomcatMigration {
197197
setCandidateDefault("tomcat", "11.0.0")
198198
}
199199

200+
@ChangeSet(
201+
order = "019",
202+
id = "019-update_tomcat_versions",
203+
author = "stefanpenndorf"
204+
)
205+
def migration019(implicit db: MongoDatabase): Document = {
206+
List(
207+
"9" -> "9.0.100",
208+
"10" -> "10.1.36",
209+
"11" -> "11.0.4"
210+
).map {
211+
case (series: String, version: String) =>
212+
Version(
213+
candidate = "tomcat",
214+
version = version,
215+
url =
216+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
217+
)
218+
}
219+
.validate()
220+
.insert()
221+
setCandidateDefault("tomcat", "11.0.4")
222+
}
223+
200224
}

0 commit comments

Comments
 (0)