Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

UnarchiverProcess Deprecated Inheritance Feature

Avatar

Avatar
Validate 1
Level 1
mknightizotope
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
mknightizotope
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
mknightizotope
Level 1

21-07-2017

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.

View Entire Topic

Avatar

Avatar
Boost 5
Level 4
zeeshank1500736
Level 4

Likes

29 likes

Total Posts

103 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
zeeshank1500736
Level 4

Likes

29 likes

Total Posts

103 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
zeeshank1500736
Level 4

21-07-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 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.