Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Add current tomcat versions and remove EOL ones
Adding latest Versions of Tomcat 8 - 11. Removed obsolete Tomcat 7
which is EOL since 2021 and Tomcat 10.0 that is EOL since End of
January 2023. Also removed 10.1 milestone version that will be
superseded by final 10.1 version.
  • Loading branch information
Stefan Penndorf committed Feb 14, 2023
commit 99f6bb76a7e02224c2cb5dfac2851f6a27b06f22
33 changes: 33 additions & 0 deletions src/main/scala/io/sdkman/changelogs/TomcatMigration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,37 @@ class TomcatMigration {
).validate()
.insert()
.asCandidateDefault()

@ChangeSet(
order = "010",
id = "010-update_tomcat_versions",
author = "stefanpenndorf"
)
def migration010(implicit db: MongoDatabase): Document = {
removeVersion("tomcat", "7.0.106")
removeVersion("tomcat", "7.0.109")
removeVersion("tomcat", "10.0.0-M10")
removeVersion("tomcat", "10.0.14")
removeVersion("tomcat", "10.0.22")
removeVersion("tomcat", "10.1.0-M8")

List(
"8" -> "8.5.85",
"9" -> "9.0.65",
"9" -> "9.0.71",
"10" -> "10.1.5",
"11" -> "11.0.0-M1"
).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.5")
}
}