Skip to content

Commit

Permalink
Upgrade to Jetty 10.0.24, 11.0.24 and 12.0.14
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Oct 17, 2024
1 parent 79109de commit b975b7a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/main/scala/io/sdkman/changelogs/JettyMigrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,29 @@ class JettyMigrations {
.insert()
.asCandidateDefault()
}

@ChangeSet(
order = "005",
id = "005-update_jetty_versions",
author = "olamy"
)
def migration005(implicit db: MongoDatabase) = {
List(
"10" -> "10.0.24",
"11" -> "11.0.24",
"12" -> "12.0.14"
).map {
case (series: String, version: String) =>
Version(
candidate = "jetty",
version = version,
url =
s"https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/$version/jetty-home-$version.zip"
)
}
.validate()
.insert()
setCandidateDefault("jetty", "12.0.14")

}
}

0 comments on commit b975b7a

Please sign in to comment.