Expand my Community achievements bar.

SOLVED

UnarchiverProcess Deprecated Inheritance Feature

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 5

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

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.

Avatar

Level 1

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>

Avatar

Level 5

hi

try after removing the version or check the dependency in your AEM in dependency finder in cponsole.