Repository Modernizer (CAM) repo-modernizer-cam
Repository Modernizer is a utility developed to restructure existing project packages by separating content and code into discrete packages to be compatible with the project structure defined for Adobe Experience Manager as a Cloud Service.
Introduction introduction
Adobe Experience Manager as a Cloud Service brings many new features and possibilities into your AEM Projects. However, there are some changes required to Adobe Experience Manager Maven projects to be compatible with AEM Cloud Service. At a high-level, AEM requires a separation of content and code into discrete subpackages to respect the split between mutable and immutable content. See AEM Project Structure for more details about the new AEM project structure for Cloud Service.
The Repository Modernizer creates a compatible AEM Cloud Service project structure by creating the following deployment structure:
-
ui.appspackage deploys to/appsand contains all the code -
ui.contentpackage deploys to runtime-writable areas (for example,/content,/conf,/home, or anything not/apps) and contains all the content and configuration. -
allpackage is a container package that contains the subpackagesui.appsandui.content.
pom.xml/filter.xml files. See Archetype 48 for more details.The Repository Modernizer now also supports the following project types:
- MULTI_PROJECT: Represents a multimodule project with no common parent POM, dispatcher, and all modules.
- SINGLE_PROJECT: Represents a single project.
- NESTED_PROJECT: Represents a multimodule project with a common parent POM, dispatcher, and all modules.
- MONOLITHIC_PROJECT: Represents a main project with one or more subprojects.
Using the Repository Modernizer using-repo-modernizer
- The Repository Modernizer is now invoked automatically by the Refactoring Service under the Refactoring Job tab. Customers simply need to upload their project and trigger the refactoring job—no additional setup is required.
Error Code Reference
If you encounter an error code while using the Repository Modernizer, refer to the table below for details and recommended actions.
Understanding Findings Report Priorities
When you download the findings report generated by the Repository Modernizer tool, each finding is assigned a priority. These priorities help you understand the urgency and impact of each issue: