Skip to content

Commit 9d228ee

Browse files
Upgraded to Tomcat April release versions (sdkman#642)
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.
1 parent cd3f53c commit 9d228ee

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/main/scala/io/sdkman/changelogs/TomcatMigration.scala

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,31 @@ class TomcatMigration {
104104
.insert()
105105
setCandidateDefault("tomcat", "10.1.7")
106106
}
107+
108+
@ChangeSet(
109+
order = "011",
110+
id = "011-update_tomcat_versions",
111+
author = "stefanpenndorf"
112+
)
113+
def migration011(implicit db: MongoDatabase): Document = {
114+
removeVersion("tomcat", "11.0.0-M3")
115+
116+
List(
117+
"8" -> "8.5.88",
118+
"9" -> "9.0.74",
119+
"10" -> "10.1.8",
120+
"11" -> "11.0.0-M5"
121+
).map {
122+
case (series: String, version: String) =>
123+
Version(
124+
candidate = "tomcat",
125+
version = version,
126+
url =
127+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
128+
)
129+
}
130+
.validate()
131+
.insert()
132+
setCandidateDefault("tomcat", "10.1.8")
133+
}
107134
}

0 commit comments

Comments
 (0)