Migrate to Dropwizard 5.0.x from 4.x

Proprietary

Apply 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.MigrateToDropwizard5
mod run . --recipe=io.moderne.java.dropwizard.MigrateToDropwizard5

Install 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.

  1. Upgrade Gradle or Maven dependency versions io.dropwizard:*:5.0.x
  2. Upgrade Gradle or Maven dependency versions io.dropwizard.modules:*:5.0.x
  3. Migrate to Java 17
  4. Migrate to Jakarta EE 10
  5. Upgrade to JUnit 5.14
  6. Upgrade Gradle or Maven dependency versions com.fasterxml.jackson*:*:2.x
  7. Migrate to Hibernate 6.6.x
  8. Delete key $.server.maxQueuedRequests
  9. Migrate Jetty AbstractHandler to Jetty 12 Handler.Abstract