Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Upgraded to Tomcat April release versions
This includes
- Tomcat 8.5.88 as latest from 8.5 line
- Tomcat 9.0.74 as latest from 9.0 line
- Tomcat 10.1.8 as latest from 10.1 line (will be new default version)
- Tomcat 11.0.0-M5 as latest from 11 line (this is the latest alpha release)

Tomcat 10.0.0-M3 dropped because it's only an alpha release and superseded by M5.
  • Loading branch information
StefanPenndorf committed Apr 28, 2023
commit 20151825c784cce2863483b6cee80c755ab76cfe
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 @@ -104,4 +104,31 @@ class TomcatMigration {
.insert()
setCandidateDefault("tomcat", "10.1.7")
}

@ChangeSet(
order = "011",
id = "011-update_tomcat_versions",
author = "stefanpenndorf"
)
def migration011(implicit db: MongoDatabase): Document = {
removeVersion("tomcat", "11.0.0-M3")

List(
"8" -> "8.5.88",
"9" -> "9.0.74",
"10" -> "10.1.8",
"11" -> "11.0.0-M5"
).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.8")
}
}