Skip to content

Deployment on AEM Cloud Manager fails #3185

@adellanegra

Description

@adellanegra

Required Information

  • AEM Cloud Manager pipeline
  • ACS AEM Commons Version: 6.1.0
  • Reproducible on Latest? yes

Expected Behavior

The deployment should done correctly

Actual Behavior

The AEM Cloud Manager pipeline is failing due to a severity critical error related to the following message:

The product interface org.apache.jackrabbit.api.JackrabbitSession annotated with @ProviderType should not be implemented by custom code. Detected in com.adobe.acs.commons.wrap.jackrabbit.JackrabbitSessionIWrap contained in /apps/acs-commons/install/acs-aem-commons-bundle-6.1.0.jar.

Steps to Reproduce

Include acs commons bundle dependencies in the following files:

all/pom.xml
<embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-all</artifactId> <type>zip</type> <target>/apps/fratellicarli-vendor-packages/container/install</target> <filter>true</filter> <isAllVersionsFilter>true</isAllVersionsFilter> </embedded>

<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-all</artifactId> <version>6.1.0</version> <type>zip</type> </dependency>
core/pom.xml
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-bundle</artifactId> <version>6.1.0</version> <scope>provided</scope> </dependency>

Links

https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/content/using/custom-code-quality-rules.html?lang=en#product-apis-annotated-with-providertype-should-not-be-implemented-or-extended-by-customers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions