UnarchiverProcess Deprecated Inheritance Feature | Community
Skip to main content
July 21, 2017
Solved

UnarchiverProcess Deprecated Inheritance Feature

  • July 21, 2017
  • 3 replies
  • 2086 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by zeeshanKhan0786

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 API)

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.

3 replies

zeeshanKhan0786
zeeshanKhan0786Accepted solution
Level 5
July 21, 2017

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 API)

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.

July 21, 2017

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>

zeeshanKhan0786
Level 5
July 21, 2017

hi

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