Migrates to Apache POI 5.x

MSAL

Migrates to the latest Apache POI 5.x release. This recipe modifies build files to account for artifact renames and upgrades dependency versions. It also chains the 4.1 recipe to handle all prior API migrations.

org.openrewrite.apache.poi.UpgradeApachePoi_5
mod run . --recipe=org.openrewrite.apache.poi.UpgradeApachePoi_5

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. Migrates to Apache POI 4.1.2
  2. Change Gradle or Maven dependency org.apache.poi:poi-ooxml-schemas
  3. Change Gradle or Maven dependency org.apache.poi:ooxml-schemas
  4. Remove a Gradle or Maven dependency org.apache.poi:ooxml-security
  5. Upgrade Gradle or Maven dependency versions org.apache.poi:poi*:5.x