Skip to content

Commit

Permalink
Upgraded to Tomcat April '24 release (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanPenndorf committed Apr 17, 2024
1 parent a383dd9 commit c5084f0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/main/scala/io/sdkman/changelogs/TomcatMigration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,31 @@ class TomcatMigration {
setCandidateDefault("tomcat", "10.1.14")
}

@ChangeSet(
order = "016",
id = "016-update_tomcat_versions",
author = "stefanpenndorf"
)
def migration016(implicit db: MongoDatabase): Document = {
removeVersion("tomcat", "11.0.0-M12")

List(
"8" -> "8.5.100",
"9" -> "9.0.88",
"10" -> "10.1.20",
"11" -> "11.0.0-M19"
).map {
case (series: String, version: String) =>
Version(
candidate = "tomcat",
version = version,
url =
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
)
}
.validate()
.insert()
setCandidateDefault("tomcat", "10.1.14")
}

}

0 comments on commit c5084f0

Please sign in to comment.