Deployment on AEM Cloud Manager fails
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
We also face the same critical issue in the Cloud Manager pipeline with version 6.0.0.
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.
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.
Fixed in 6.2.0.
Fixed in 6.2.0.
thanks for the fix.