Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

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

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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-...

         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>

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

@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-...

         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>

Avatar

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

Avatar

Level 1
It's working fine removing the <classifier>apis</classifier>. Thanks so much @Shubham_borole.

Avatar

Community Advisor

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

Avatar

Administrator

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