Skip to content

Commit 729305f

Browse files
StefanPenndorfmarc0der
authored andcommitted
Upgraded to Tomcat September '24 release
Upgrade includes - Tomcat 9.0.95 from 9.0 line - Tomcat 10.1.30 from 10.1 line (will be new default version) - Tomcat 11.0.0-M26 as latest from 11 line (this is the latest beta release) Tomcat 11.0.0-M19 dropped because it's only an alpha release and superseded by M26.
1 parent bf82446 commit 729305f

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
@@ -144,4 +144,31 @@ class TomcatMigration {
144144
setCandidateDefault("tomcat", "10.1.14")
145145
}
146146

147+
@ChangeSet(
148+
order = "017",
149+
id = "017-update_tomcat_versions",
150+
author = "stefanpenndorf"
151+
)
152+
def migration017(implicit db: MongoDatabase): Document = {
153+
removeVersion("tomcat", "11.0.0-M19")
154+
removeVersion("tomcat", "8.5.100") // Tomcat 8.5 EOL on March, 31st 2024
155+
156+
List(
157+
"9" -> "9.0.95",
158+
"10" -> "10.1.30",
159+
"11" -> "11.0.0-M26"
160+
).map {
161+
case (series: String, version: String) =>
162+
Version(
163+
candidate = "tomcat",
164+
version = version,
165+
url =
166+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
167+
)
168+
}
169+
.validate()
170+
.insert()
171+
setCandidateDefault("tomcat", "10.1.30")
172+
}
173+
147174
}

0 commit comments

Comments
 (0)