Alfresco Model Extractor
by Angel Borroy
Community
Go CLI tool that extracts Alfresco XML content models from an existing addon JAR or AMP and repackages them into a standalone model-only JAR, useful when upgrading Alfresco and dropping an addon that still has dependent content.
About
A developer utility for Alfresco upgrades where an old addon is no longer supported but its content model is still needed.
- Scans a JAR or AMP for Alfresco XML content model files
- Auto-generates
module.propertiesandmodule-context.xml - Outputs a deployable JAR with the standard
alfresco/module/<name>/model/structure - Pre-compiled binaries for macOS (Intel & Apple Silicon), Linux, and Windows
./alfresco-model-extractor -zip original-addon.amp -output original-addon-models.jar