File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/main/scala/io/sdkman/changelogs Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -245,4 +245,28 @@ class TomcatMigration {
245245 setCandidateDefault(" tomcat" , " 11.0.5" )
246246 }
247247
248+ @ ChangeSet (
249+ order = " 021" ,
250+ id = " 021-update_tomcat_versions" ,
251+ author = " stefanpenndorf"
252+ )
253+ def migration021 (implicit db : MongoDatabase ): Document = {
254+ List (
255+ " 9" -> " 9.0.104" ,
256+ " 10" -> " 10.1.40" ,
257+ " 11" -> " 11.0.6"
258+ ).map {
259+ case (series : String , version : String ) =>
260+ Version (
261+ candidate = " tomcat" ,
262+ version = version,
263+ url =
264+ s " https://archive.apache.org/dist/tomcat/tomcat- $series/v $version/bin/apache-tomcat- $version.zip "
265+ )
266+ }
267+ .validate()
268+ .insert()
269+ setCandidateDefault(" tomcat" , " 11.0.6" )
270+ }
271+
248272}
You can’t perform that action at this time.
0 commit comments