File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
src/main/scala/io/sdkman/changelogs Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -117,4 +117,31 @@ class TomcatMigration {
117117 setCandidateDefault(" tomcat" , " 10.1.14" )
118118 }
119119
120+ @ ChangeSet (
121+ order = " 016" ,
122+ id = " 016-update_tomcat_versions" ,
123+ author = " stefanpenndorf"
124+ )
125+ def migration016 (implicit db : MongoDatabase ): Document = {
126+ removeVersion(" tomcat" , " 11.0.0-M12" )
127+
128+ List (
129+ " 8" -> " 8.5.100" ,
130+ " 9" -> " 9.0.88" ,
131+ " 10" -> " 10.1.20" ,
132+ " 11" -> " 11.0.0-M19"
133+ ).map {
134+ case (series : String , version : String ) =>
135+ Version (
136+ candidate = " tomcat" ,
137+ version = version,
138+ url =
139+ s " https://archive.apache.org/dist/tomcat/tomcat- $series/v $version/bin/apache-tomcat- $version.zip "
140+ )
141+ }
142+ .validate()
143+ .insert()
144+ setCandidateDefault(" tomcat" , " 10.1.14" )
145+ }
146+
120147}
You can’t perform that action at this time.
0 commit comments