Migrate to Dropwizard 5.0.x from 4.x
ProprietaryApply changes required to upgrade a Dropwizard 4.x application to 5.0.x. This includes upgrading dependencies, removing deprecated configuration options, and migrating Jetty handler implementations. Includes required migrations to Java 17, Jakarta EE 10, JUnit 5, Jackson 2.x, and Hibernate 6.6. See the upgrade guide.
io. moderne. java. dropwizard. MigrateToDropwizard5mod run . --recipe= io. moderne. java. dropwizard. MigrateToDropwizard5Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Upgrade Gradle or Maven dependency versions
io.dropwizard:*:5.0.x - Upgrade Gradle or Maven dependency versions
io.dropwizard.modules:*:5.0.x - Migrate to Java 17
- Migrate to Jakarta EE 10
- Upgrade to JUnit 5.14
- Upgrade Gradle or Maven dependency versions
com.fasterxml.jackson*:*:2.x - Migrate to Hibernate 6.6.x
- Delete key
$.server.maxQueuedRequests - Migrate Jetty
AbstractHandlerto Jetty 12Handler.Abstract