Hi All,
We are getting Critical code quality Issues in Code quality Pipleline.
The product class javax.json.spi.JsonProvider annotated with @ProviderType should not be extended by custom code. Detected in org.apache.johnzon.core.JsonProviderImpl contained in /apps/<project-name>-vendor-packages/application/install/org.apache.sling.commons.johnzon-1.2.14.jar.(CQRules:CQBP-84).
I have added the below dependency in all pom.xml.
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.commons.johnzon</artifactId>
<target>/apps/<project-name>-vendor-packages/application/install</target>
</dependency>
The product interface org.apache.sling.caconfig.management.multiplexer.ConfigurationResourceResolvingStrategyMultiplexer annotated with @ProviderType should not be implemented by custom code. Detected in org.apache.sling.caconfig.resource.impl.ConfigurationResourceResolvingStrategyMultiplexerImpl contained in /apps/<project-name>-vendor-packages/application/install/org.apache.sling.caconfig.impl-1.6.0.jar.
How to fix such issues.
Solved! Go to Solution.
Views
Replies
Total Likes
Yes, you can actually raise an Adobe support ticket to help you disable any code quality issues in product in the code quality pipeline.
Hello @AmBH ,
So basically the code quality is detected in the class org.apache.sling.caconfig.resource.impl.ConfigurationResourceResolvingStrategyMultiplexerImpl, which is contained in the JAR file org.apache.sling.caconfig.impl-1.6.0.jar within the /apps/<project-name>-vendor-packages/application/install/ directory.
Is the understanding correct that the issue is in the OOTB product classes only?
Thanks,
Tanika
Hi @Tanika02 ,
Issue is in out of box JAR classes.
.Same with below class also.
The product class javax.json.spi.JsonProvider annotated with @ProviderType should not be extended by custom code. Detected in org.apache.johnzon.core.JsonProviderImpl contained in /apps/<project-name>-vendor-packages/application/install/org.apache.sling.commons.johnzon-1.2.14.jar.(CQRules:CQBP-84).
Are you recommending to raise adobe ticket to manually get that closed.
Thanks
Yes, you can actually raise an Adobe support ticket to help you disable any code quality issues in product in the code quality pipeline.
@AmBH can you tell us which version of ACS commons that you are using ?
The same issue is discussed at below form
https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2604
Try using the latest ACS
Views
Likes
Replies