Expand my Community achievements bar.

SOLVED

Package not available

Avatar

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

Correct answer by
Employee Advisor

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?

Avatar

Level 4
@Jörg_Hoh - Can you check this package in depfinder: com.adobe.cq.editor.model ?

Avatar

Employee Advisor
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.

Avatar

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. 

Avatar

Level 4
@VeenaVikraman - I have added the screenshot. Moreover we require that package in our project.

Avatar

Employee Advisor

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.