Migrates to Apache POI 3.17

MSAL

Migrates to the last Apache POI 3.x release. This recipe modifies build files and makes changes to deprecated/preferred APIs that have changed between versions.

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

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. Change Gradle or Maven dependency poi:poi
  2. Upgrade Gradle or Maven dependency versions org.apache.poi:poi*:3.x
  3. Replace Font.setBoldweight(short) with Font.setBold(boolean)
  4. Apache POI use Cell.setCellType(CellType)
  5. Change method invocation return type
  6. Replace constant with another constant
  7. Replace constant with another constant
  8. Replace constant with another constant
  9. Replace constant with another constant
  10. Replace constant with another constant
  11. Replace constant with another constant
  12. Replace constant with another constant
  13. Replace constant with another constant
  14. Replace constant with another constant
  15. Replace constant with another constant
  16. Replace constant with another constant
  17. Replace constant with another constant
  18. Replace constant with another constant
  19. Replace constant with another constant
  20. Replace constant with another constant
  21. Replace constant with another constant
  22. Replace constant with another constant
  23. Replace constant with another constant
  24. Replace constant with another constant
  25. Replace constant with another constant
  26. Replace constant with another constant
  27. Replace constant with another constant
  28. Replace constant with another constant
  29. Replace constant with another constant
  30. Replace constant with another constant
  31. Replace constant with another constant
  32. Replace constant with another constant
  33. Replace constant with another constant
  34. Replace constant with another constant
  35. Replace constant with another constant
  36. Replace constant with another constant
  37. Replace constant with another constant
  38. Replace constant with another constant
  39. Replace constant with another constant
  40. Replace constant with another constant
  41. Replace constant with another constant
  42. Replace constant with another constant
  43. Replace constant with another constant
  44. Replace constant with another constant
  45. Replace constant with another constant
  46. Replace constant with another constant
  47. Replace constant with another constant
  48. Replace constant with another constant
  49. Replace constant with another constant
  50. Replace constant with another constant
  51. Replace constant with another constant
  52. Replace constant with another constant
  53. Replace constant with another constant
  54. Replace constant with another constant
  55. Replace constant with another constant
  56. Replace constant with another constant
  57. Replace constant with another constant
  58. Replace constant with another constant
  59. Replace constant with another constant
  60. Replace constant with another constant
  61. Replace constant with another constant
  62. Replace constant with another constant