AEM Cloud Manager stage pipeline build fails due to unsupported Maven toolchains

✨ This content is AI generated and could be inaccurate. Generative AI Terms

This article explains how to resolve build failures in AEM Cloud Manager stage pipelines that are caused by the use of unsupported Maven toolchains.

Description description

Environment

  • Adobe Experience Manager (AEM) Cloud Manager (all versions)

Symptoms

  • A stage pipeline build in AEM Cloud Manager fails.
  • The issue is not consistently reproducible.
  • The build fails without a specific error message or stack trace.

Cause

Maven toolchains are no longer supported in AEM Cloud Manager pipelines. Their presence in the codebase causes build failures during pipeline execution.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Review your project’s codebase for any references to Maven toolchains, such as toolchains.xml files or related Maven plugin configurations.
  2. Remove all Maven toolchain configurations from your codebase. This includes deleting any toolchains.xml files and removing related plugin references from your pom.xml files.
  3. Commit and push the changes to your source repository.
  4. Retry the deployment in AEM Cloud Manager by re-running the stage pipeline.
  5. If the issue persists, review the pipeline logs for any additional errors and consult the AEM Cloud Manager documentation for further troubleshooting steps.
recommendation-more-help
experience-cloud-kcs-help-kbarticles