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

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

RamireFer
Level 1
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
snbaem
Correct answer by
Community Advisor
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

4 Replies
snbaem
Correct answer by
Community Advisor
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

snbaem
Community Advisor
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.
RamireFer
Level 1
Level 1
It's working fine removing the <classifier>apis</classifier>. Thanks so much @snbaem.