Skip to content

Commit d4a4d8a

Browse files
StefanPenndorfmarc0der
authored andcommitted
Upgraded to Tomcat March '25 release
Upgrade includes - Tomcat 9.0.102 from 9.0 line - Tomcat 10.1.39 from 10.1 line - Tomcat 11.0.5 from 11.0 line (will be new default version) The Tomcat releases 9.0.101, 10.1.37 and 10.1.38 have been skipped by Tomcat team.
1 parent b1f1d69 commit d4a4d8a

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
@@ -221,4 +221,28 @@ class TomcatMigration {
221221
setCandidateDefault("tomcat", "11.0.4")
222222
}
223223

224+
@ChangeSet(
225+
order = "020",
226+
id = "020-update_tomcat_versions",
227+
author = "stefanpenndorf"
228+
)
229+
def migration020(implicit db: MongoDatabase): Document = {
230+
List(
231+
"9" -> "9.0.102",
232+
"10" -> "10.1.39",
233+
"11" -> "11.0.5"
234+
).map {
235+
case (series: String, version: String) =>
236+
Version(
237+
candidate = "tomcat",
238+
version = version,
239+
url =
240+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
241+
)
242+
}
243+
.validate()
244+
.insert()
245+
setCandidateDefault("tomcat", "11.0.5")
246+
}
247+
224248
}

0 commit comments

Comments
 (0)