Skip to content

Commit 088af99

Browse files
lachlan-robertsmarc0der
authored andcommitted
Update Jetty to 10.0.26, 11.0.26, 12.0.34 and 12.1.8
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
1 parent 37c6ad7 commit 088af99

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,30 @@ class JettyMigrations {
2828
.validate()
2929
.insert()
3030
setCandidateDefault("jetty", "12.0.14")
31+
}
3132

33+
@ChangeSet(
34+
order = "006",
35+
id = "006-update_jetty_versions",
36+
author = "lachlan-roberts"
37+
)
38+
def migration006(implicit db: MongoDatabase) = {
39+
List(
40+
"10" -> "10.0.26",
41+
"11" -> "11.0.26",
42+
"12.0" -> "12.0.34",
43+
"12.1" -> "12.1.8"
44+
).map {
45+
case (series: String, version: String) =>
46+
Version(
47+
candidate = "jetty",
48+
version = version,
49+
url =
50+
s"https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/$version/jetty-home-$version.zip"
51+
)
52+
}
53+
.validate()
54+
.insert()
55+
setCandidateDefault("jetty", "12.1.8")
3256
}
3357
}

0 commit comments

Comments
 (0)