Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

[WARNING] The POM for com.adobe.aem:aem-api:jar:6.0.0.1 is missing, no dependency information available

Avatar

Level 3

'mvn clean install' works', but 'mvn clean install -PautoInstallPackage -PdeploymentServer' fails with

[10:38:27][com.example:frontend.core] Downloading: http://repo.maven.apache.org/maven2/com/adobe/aem/aem-api/6.0.0.1/aem-api-6.0.0.1.pom
[10:38:28][com.example:frontend.core] [WARNING] The POM for com.adobe.aem:aem-api:jar:6.0.0.1 is missing, no dependency information available
[10:38:28][com.example:frontend.core] Downloading: http://repo.maven.apache.org/maven2/com/adobe/aem/aem-api/6.0.0.1/aem-api-6.0.0.1.jar
[10:38:28][com.example:frontend.core] Failed to execute goal on project frontend.core: Could not resolve dependencies for project com.example:frontend.core:bundle:0.0.1-SNAPSHOT: Could not find artifact com.adobe.aem:aem-api:jar:6.0.0.1 in central (http://repo.maven.apache.org/maven2)

I searched for aem-api-6.0.0.1.pom and only found it at https://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/aem-api/6.0.0.1/aem-api-6.0.0.1.pom.
So, is this caused by the repo path beging wrong? Or how should I go about fixing this issue?

 

-

1 Accepted Solution

Avatar

Correct answer by
Employee
4 Replies

Avatar

Employee

make sure to use the https:// address for the repo.

Avatar

Level 3

Feike Visser wrote...

make sure to use the https:// address for the repo.

 

Care to elaborate? :-)

As in https://repo.maven.apache.org/maven2/com/adobe/aem/aem-api/6.0.0.1/aem-api-6.0.0.1.pom? That URI returns 404 Not Found, so I don't see how that would fix it.

Still, I searched the entire project for 'repo.maven.apache.org' without success, so how/where should I change it?

Avatar

Correct answer by
Employee

Avatar

Level 3

Feike Visser wrote...

This is correct nexus-location:

https://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/aem-api/6.0.0.1/

 

Ok, but I don't know where to change the incorrect URI to the above. I already searched the entire project directory for 'repo.maven.apache' and 'aem-api-6.0.0.1.pom' without luck,so I guess that some dependency is referencing the incorrect URI. So where / how should I fix this?