Lightning Talk: Deprecation
summary
A large legacy AEM install accumulates dozens of third‑party libraries that show up as duplicated APIs in a public list and create maintenance overload; the AEM analyzer plugin flags duplicate imports for OSGi bundles but misses JSP references. Straightforward fixes include updating package names, migrating Sling Commons JSON to Jakarta JSON or Jackson, and replacing Guava uses with Java features or embedding Caffeine for caching. Hard cases include a predicate provider tied to Commons Collections 3 versus 4 and a DropTarget still depending on Sling JSON, requiring platform‑specific workarounds or reflection.
AI-written summary · about
