acs-aem-commons icon indicating copy to clipboard operation
acs-aem-commons copied to clipboard

Deployment on AEM Cloud Manager fails

Open adellanegra opened this issue 2 years ago • 5 comments

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

adellanegra avatar Sep 14 '23 15:09 adellanegra

We also face the same critical issue in the Cloud Manager pipeline with version 6.0.0.

sachinsaxena19 avatar Sep 15 '23 06:09 sachinsaxena19

Facing similar issue with ACS Commons v6.0.14. Did not experience this until AEM maintenance release# 13323 but started getting this issue when environments were set to upgrade to maintenance release# 13420.

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.0.14.jar.

harsh-lele avatar Sep 15 '23 12:09 harsh-lele

We also face the same critical issue in the Cloud Manager pipeline with ACS Commons v6.0.8. Complaining with the error:

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.0.8.jar.

kaustavmajoomder avatar Sep 15 '23 13:09 kaustavmajoomder

Fixed in 6.2.0.

davidjgonzalez avatar Sep 15 '23 18:09 davidjgonzalez

Fixed in 6.2.0.

thanks for the fix.

thcharan avatar Sep 15 '23 20:09 thcharan