Could not resolve dependencies for project - Failure to find com.adobe.aem uber-jar in https://repo.adobe.com | Community
Skip to main content
March 12, 2021
Solved

Could not resolve dependencies for project - Failure to find com.adobe.aem uber-jar in https://repo.adobe.com

  • March 12, 2021
  • 3 replies
  • 32074 views

Hi,

I'm creating a project with the archetypeVersion 25 for a SPA. But I am having the below error when I'm trying to deploy:

 

[ERROR] Failed to execute goal on project aem-mycmscoe-spa.core: Could not resolve dependencies for project com.cmscoe.spa:aem-mycmscoe-spa.core:jar:1.0.0-SNAPSHOT: Failure to find com.adobe.aem:uber-jar:jar:apis:6.5.7 in https://repo.adobe.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of adobe-public-releases has elapsed or updates are forced -> [Help 1]

 

Root POM:

<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.7</version>
<classifier>apis</classifier>
<scope>provided</scope>
</dependency>

 

Core POM:

<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<classifier>apis</classifier>
</dependency>

 

Is the repo down? Or any idea to resolve this issue?

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 Shubham_borole

@ramirefer The repo seems to be up. Can you try to remove <classifier>apis</classifier> from the pom.xml (both) and try? 

See: https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/service-pack/sp-release-notes.html?lang=en#service-pack

         https://mvnrepository.com/artifact/com.adobe.aem/uber-jar/6.5.7 

<!-- https://mvnrepository.com/artifact/com.adobe.aem/uber-jar --> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.5.7</version> <scope>provided</scope> </dependency>

3 replies

Shubham_borole
Community Advisor
Shubham_boroleCommunity AdvisorAccepted solution
Community Advisor
March 13, 2021

@ramirefer The repo seems to be up. Can you try to remove <classifier>apis</classifier> from the pom.xml (both) and try? 

See: https://experienceleague.adobe.com/docs/experience-manager-65/release-notes/service-pack/sp-release-notes.html?lang=en#service-pack

         https://mvnrepository.com/artifact/com.adobe.aem/uber-jar/6.5.7 

<!-- https://mvnrepository.com/artifact/com.adobe.aem/uber-jar --> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.5.7</version> <scope>provided</scope> </dependency>
Shubham_borole
Community Advisor
Community Advisor
March 14, 2021
See this note too: UberJar and the other related artifacts are available on Maven Central Repository instead of Adobe Public Maven repository (repo.adobe.com). The main UberJar file is renamed to uber-jar-<version>.jar. So, there is no classifier, with apis as the value, for the dependency tag.
arunpatidar
Community Advisor
Community Advisor
March 13, 2021

Hi, Can you please check which remote repository you are trying to get uber-jar. It seems uber jar is not available at https://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/uber-jar/

but on https://mvnrepository.com/artifact/com.adobe.aem/uber-jar/6.5.7

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
April 5, 2022

Instructions on how to use repo are displayed on https://repo.adobe.com/index.html

Please use "https" protocol instead of "http"

Also, have a look at: https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en

 

Kautuk Sahni