Migrates to Apache POI 4.1.2
MSALMigrates to the last Apache POI 4.x release. This recipe modifies build files and makes changes to deprecated/preferred APIs that have changed between versions.
org. openrewrite. apache. poi. UpgradeApachePoi_4_1mod run . --recipe= org. openrewrite. apache. poi. UpgradeApachePoi_4_1Install 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.
- Migrates to Apache POI 3.17
- Upgrade Gradle or Maven dependency versions
org.apache.poi:poi*:4.x - Upgrade Gradle or Maven dependency versions
org.apache.poi:poi-ooxml-schemas:4.x - Change type
NPOIFSFileSystemtoPOIFSFileSystem - Change type
OPOIFSFileSystemtoPOIFSFileSystem - Change type
TextSegementtoTextSegment - Change type
org.apache.poi.extractor.ExtractorFactorytoorg.apache.poi.ooxml.extractor.ExtractorFactory - Change type
NullabletoOptional