Pre built AEM packages aren’t deployed in Cloud Manager

In AEM as a Cloud Service, deploying pre-built ZIP packages from a Cloud Manager Git repository doesn’t deploy all expected packages. Cloud Manager uses Maven to build and assemble artifacts from source code rather than directly deploying arbitrary ZIP files. To fix this issue, use a Maven-based build process to assemble and deploy the artifacts.

Description description

Environment

  • Adobe Experience Manager as a Cloud Service (AEMaaCS)
  • Cloud Manager

Symptoms

  • Only the ui.content package appears installed after deployment.
  • Dependent packages (such as ui.apps) aren’t installed.
  • The build pipeline completes successfully, but not all expected packages are deployed.

Cause

Cloud Manager requires a Maven-based build process and doesn’t support direct deployment of ZIP files from the Git repository. The deployment model is designed around assembling and deploying artifacts via Maven, not bypassing the build phase.

Resolution resolution

To deploy pre-built artifacts while keeping your source code internal, follow these steps:

  1. Build your application and content packages (for example, ui.apps and ui.content) within your own infrastructure.
  2. Publish the resulting artifacts to a Maven-compatible artifact repository (such as Artifactory or Nexus) that is accessible by Cloud Manager.
  3. In your Cloud Manager Git repository, maintain a valid Maven project structure (typically based on the AEM Project Archetype). You can simplify the project by removing modules that aren’t built in Cloud Manager, but you must retain the all module and its Maven configuration.
  4. In the all module’s pom.xml, declare dependencies on your externally built artifacts using their Maven coordinates and versions.
  5. Configure the Maven settings in Cloud Manager to include your external artifact repository so that Maven can resolve and download the required packages during the build. For details on configuring external repositories, refer to the official documentation.
  6. Whenever you publish a new version of an artifact, update the version references in the Cloud Manager Git repository to match the published versions.
  7. Commit and push your changes to the Cloud Manager Git repository and trigger the pipeline.
  8. After deployment, verify that all expected packages are installed in AEM as a Cloud Service.

Cloud Manager doesn’t support bypassing the Maven build process or deploying arbitrary ZIP files directly from the Git repository.

recommendation-more-help
experience-cloud-kcs-help-kbarticles