Guide · updated

Repository Modernizer: restructuring an AEM 6.5 project for the cloud

On AEM as a Cloud Service, /apps and /libs are immutable at runtime, so one package that installs both code and content will not deploy. Older AEM 6.5 projects often have exactly that. Adobe's Repository Modernizer restructures them.

What it produces

PackageContents
ui.appsEverything that deploys to /apps: the code.
ui.contentRuntime-writable areas such as /content and /conf: content and configuration.
allA container package that embeds the ui.apps and ui.content packages.

The package and filter structure follows AEM Project Archetype 24. Projects built on newer archetypes also have a ui.config package for OSGi configuration; move configurations there afterwards if you want the current layout.

How to run it

  • Adobe recommends the Adobe I/O CLI plugin aio-cli-plugin-aem-cloud-service-migration; it can also run as a standalone Node.js utility.
  • Work on a branch, run it, then build the restructured project with Maven before anything else.

Check by hand afterwards

  1. Filter files: no package may include paths it does not own; overlapping filters cause content to be deleted on install.
  2. Content under /apps that is really content (for example sample pages or DAM assets) must move to ui.content or be dropped.
  3. Configuration under /etc must move to /conf or other supported locations.
  4. OSGi configurations: convert to .cfg.json and map custom run modes (our fix and runmodes commands do both).
  5. Deploy to a Rapid Development Environment or dev environment and check the package install logs.

Check your own site or code for free

This guide covers the AEM code and platform side of a move. The pages are a separate job, and that is the job the four steps do.

Surge Migrate moves a website from any CMS to any CMS in four steps: Scan, Convert, Verify, Install. Pages are converted automatically, and you check the result before you install anything.

Sources

Any CMS to any CMS

Scan, Convert, Verify, Install

This guide covers one part of a move. Surge Migrate moves the pages, from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →

No account needed. Public pages only, robots.txt obeyed. Nothing is installed in your system by these tools.