Embed the dependencies PDFBox 3 added in OSGi bundles that embed PDFBox
MSALPDFBox 3.0 moved its I/O classes, such as RandomAccessRead, from pdfbox and fontbox to the new pdfbox-io artifact, and its command line tools now depend on picocli and Commons IO. A bundle that the Maven Bundle Plugin builds with these PDFBox artifacts among the artifact IDs of its Embed-Dependency instruction then imports packages it doesn't embed, and can't be resolved. This adds each dependency the instruction lacks after the first artifact that needs it.
org. openrewrite. apache. pdfbox. EmbedNewPdfBoxDependenciesmod run . --recipe= org. openrewrite. apache. pdfbox. EmbedNewPdfBoxDependenciesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.