Getting error as Missing artifact com.adobe.cq:cq-experience-fragments:jar:1.3.66 | Community
Skip to main content
Level 2
November 22, 2023
Solved

Getting error as Missing artifact com.adobe.cq:cq-experience-fragments:jar:1.3.66

  • November 22, 2023
  • 3 replies
  • 2366 views

Hi,

     While building the project, I realized that com.adobe.cq.xf.ui.ExperienceFragmentConsoleItem is deprecated, so I added dependency, but I am getting error as "Failed to execute goal on project ;Could not resolve dependencies for project [] com.adobe.cq:cq-experience-fragments:jar:1.3.66 was not found in https://repo.adobe.com/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of adobe-public-releases has elapsed or updates are forced".

 

dependency in ui.apps pom is:

 

<dependency>
<artifactId>cq-experience-fragments</artifactId>
<groupId>com.adobe.cq</groupId>
</dependency>

 

dependency in root pom is:

 

<dependency>
<artifactId>cq-experience-fragments</artifactId>
<version>1.3.66</version>
<groupId>com.adobe.cq</groupId>
<scope>provided</scope>
</dependency>

 

Is there any way to resolve this?

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 aanchal-sikka

I am still getting the same error  "Could not find artifact com.adobe.cq:cq-experience-fragments:jar:1.3.84 in adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public)"


@anjua 

 

It is not available in the repo. Can you please raise an Adobe ticket?

 

A temporary workaround would be:

For local development, you can take the bundle from crx-quickstart folder and place it in local .m2 repository with proper naming convention.

 

Preferrably wait for Adobe to respond.

 

3 replies

TarunKumar
Community Advisor
Community Advisor
November 22, 2023

Hi @anjua ,

What is the uber jar version you are having, please check if that is compatible w/ your cq-experience-fragment version. 
If nothing seems to work out then you can try downloading the jars manually. If you are not able to download the jar as well then please raise a Adobe day care support ticket for this.


Thanks
Tarun

AnjuAAuthor
Level 2
November 22, 2023

The project is build using AEM Cloud SDK, so no uber.jar file is used.

AnjuAAuthor
Level 2
November 23, 2023

Hello @anjua 

 

For AEM SDK you might be using

<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<version>${aem.sdk.api}</version>
<scope>provided</scope>
</dependency>


 For Nov 14 SDK, the dependency in AEM is: 

 

<dependency> <artifactId>cq-experience-fragments</artifactId> <version>1.3.84</version> <groupId>com.adobe.cq</groupId> <scope>provided</scope> </dependency>

 


I am still getting the same error  "Could not find artifact com.adobe.cq:cq-experience-fragments:jar:1.3.84 in adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public)"

kautuk_sahni
Community Manager
Community Manager
November 23, 2023

@anjua Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
arunpatidar
Community Advisor
Community Advisor
November 23, 2023