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

SOLVED

Package not available

aemninja
Level 4
Level 4

Screen Shot 2021-03-13 at 1.45.30 PM.pngHello All - I am trying to build a project using maven archetype 25 which use the package com.adobe.cq.editor.model. If I use the below dependency, it didn't resolve and am getting compilator error saying 'package com.adobe.cq.editor.model does not exist'. Could someone tell me what needs to be used. Note: I am already using 6-5 uber.jar.

 

<dependency>

<artifactId>com.adobe.cq.editor</artifactId>
<version>1.3.18</version>
<groupId>com.adobe.cq</groupId>
<scope>provided</scope>
</dependency>

1 Accepted Solution
Jörg_Hoh
Correct answer by
Employee
Employee

There is no such bundle (and I don't find the reference in the aem-archetype itself). How did you get to the pom dependency you listed?

View solution in original post

7 Replies
Jörg_Hoh
Correct answer by
Employee
Employee

There is no such bundle (and I don't find the reference in the aem-archetype itself). How did you get to the pom dependency you listed?

View solution in original post

aemninja
Level 4
Level 4
@Jörg_Hoh - Can you check this package in depfinder: com.adobe.cq.editor.model ?
Jörg_Hoh
Employee
Employee
I justed start an AEM 6.5.5 installation, and I did not find that package in the depfinder. But I also checked older uber.jar versions and it seems that this Java package has been exported with AEM 6.3. But, not with newer versions.
Veena_Vikram
Community Advisor
Community Advisor

As Jorg told , I don't think it is a valid dependency. Your project should build fine , if you remove it I believe. 

aemninja
Level 4
Level 4
@Veena_Vikram - I have added the screenshot. Moreover we require that package in our project.
Jörg_Hoh
Employee
Employee

I crosschecked with the bundle exporting it, and indeed the bundle "com.adobe.cq.com.adobe.cq.editor" does export the Java package "com.adobe.cq.editor.model" (as of AEM 6.5.5). But as already stated, the uber.jar does not provide it.

 

Please raise a ticket with Adobe support to clarify it.