Hi, we have a class that inherits from UnarchiverProcess:
public class htmlAssetProcessD extends UnarchiverProcess {
And we've started seeing these warnings:
[WARNING] C:\Users\mknight\Documents\izotope-frontpage-aem\core\src\main\java\com\izotope\core\workflow\htmlAssetProcess.java [1:1]: Component com.izotope.core.workflow.htmlAssetProcess is using the deprecated inheritance feature and inherits from com.day.cq.dam.core.process.UnarchiverProcess. This feature will be removed in future versions.
[WARNING] C:\Users\mknight\Documents\izotope-frontpage-aem\core\src\main\java\com\izotope\core\workflow\htmlAssetProcess.java [1:1]: Component com.izotope.core.workflow.htmlAssetProcess is using the deprecated inheritance feature and inherits from com.day.cq.dam.core.process.UnarchiverProcess. This feature will be removed in future versions.
If someone could let me know how this feature should be implemented instead now, I'd really appreciate it. Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi MK,
In the latest version of AEM 6.3 it is supported and didn't find the depricated class in this.
I go through the Api com.day.cq.dam.core.process.UnarchiverProcess UnarchiverProcess ("The Adobe AEM Quickstart and Web Application.") Here i did not find the UnarchiverProcess is depricated.
Please check the version of dependency used in Pom.xml
In adobe cq 5.5 api the document is not supported No usage of com.day.cq.dam.core.process.UnarchiverProcess Uses of Class com.day.cq.dam.core.process.UnarchiverProcess (Adobe CQ 5.5 Java Documentation 5.5.0 A...
Above Cq5.5 adobe is supported the UnarchieverProcess Class.
I think you are using below dependency in pom
<dependency>
<groupId>com.day.cq.dam</groupId>
<artifactId>cq-dam-core</artifactId>
<version>5.5.0</version>
</dependency>
Update it with higher version.first check in Aem dependency finder and update accordingly.
Views
Replies
Total Likes
Hi MK,
In the latest version of AEM 6.3 it is supported and didn't find the depricated class in this.
I go through the Api com.day.cq.dam.core.process.UnarchiverProcess UnarchiverProcess ("The Adobe AEM Quickstart and Web Application.") Here i did not find the UnarchiverProcess is depricated.
Please check the version of dependency used in Pom.xml
In adobe cq 5.5 api the document is not supported No usage of com.day.cq.dam.core.process.UnarchiverProcess Uses of Class com.day.cq.dam.core.process.UnarchiverProcess (Adobe CQ 5.5 Java Documentation 5.5.0 A...
Above Cq5.5 adobe is supported the UnarchieverProcess Class.
I think you are using below dependency in pom
<dependency>
<groupId>com.day.cq.dam</groupId>
<artifactId>cq-dam-core</artifactId>
<version>5.5.0</version>
</dependency>
Update it with higher version.first check in Aem dependency finder and update accordingly.
Views
Replies
Total Likes
Hi zeeshank, thanks for the reply. I actually wasn't using a maven dependency before and just the 6.3 uberjar. I tried adding the following dependency to the pom file but I still got the same warning.
<dependency>
<groupId>com.day.cq.dam</groupId>
<artifactId>cq-dam-api</artifactId>
<version>5.8.14</version>
<scope>provided</scope>
</dependency>
Views
Replies
Total Likes
hi
try after removing the version or check the dependency in your AEM in dependency finder in cponsole.
Views
Replies
Total Likes
Views
Likes
Replies