Files
Abhishek Garg 42bc5b0120 feat(aem-6.5-lts): add Java 21 migration skill
Add a new skill for migrating AEM 6.5 LTS Maven projects from
Java 8/11 to Java 21. The skill uses OpenRewrite recipes for
automated code transformation, Python POM manipulation scripts
for changes OpenRewrite cannot handle, and agent-assisted build
fixing with strict guardrails.

12-step migration workflow covering: project validation, Java
version detection, initial build, OpenRewrite Java migration,
POM manipulations, CloudManager config, pre-Mockito build,
Mockito migration, final build, jakarta/workaround cleanup,
migration reporting, and diff review with local commit.

Includes:
- OpenRewrite recipes for Java 8/11→21 and Mockito 1.x→5.x
- Python scripts for compiler config, SCR removal, classifier
  migration, and FileVault groupId fixes
- JSON configs for plugin, dependency, and classifier rules
- Maven settings.xml and toolchains.xml for multi-JDK builds
- Reference docs: prerequisites, build-fix constraints,
  OpenRewrite commands, POM manipulation rules, validation report
- tile.json for 6.5-lts plugin (enables tessl evals)

Guardrails: javax-not-jakarta enforcement, 8 unsupported package
hard stops, enforcer version monotonicity, POM indentation
preservation, temp workaround cleanup, change attribution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 13:53:01 +05:30
..