HomeAEM Fundamentals › Package Manager & content packages

Package Manager & content packages

Purpose: Build, install and reason about content packages — the zip files that move repository content between instances.

Who this page is for

AudienceWhy it matters to you
All engineersThe transport mechanism for both code and content

What a package is

A zip of a repository subtree plus filter definitions. Your Maven build produces one; you can also build them ad hoc at /crx/packmgr.

mypackage.zip
 ├── jcr_root/apps/phi-academy/…      ← the actual tree, as files/XML
 └── META-INF/vault/filter.xml        ← which paths this package owns

Filters decide everything

Filter modeOn install
replace (default)Target path is replaced by package content — deletes what is not in the package
mergeAdds new nodes, keeps existing
updateUpdates matching nodes, keeps others

The classic incident: a package with a broad replace filter on /content wiping authored content. Always review filter.xml before installing anything on a shared instance.

Common operations

TaskHow
Export a page treepackmgr → create package → filter /content/phi/plans → build → download
Move content dev→stageBuild & download on source, upload & install on target
See what a deploy containedpackmgr → package → coverage/contents
Reinstall last known goodPackages are versioned artefacts — keep releases in your artefact repo

Rules of thumb

Quick navigation