Expand my Community achievements bar.

ACS Commons install issue

Avatar

Level 3

Failed to execute goal on project project-name.all: Could not resolve dependencies for project com.project-name.aem:project.all:content-package:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.adobe.acs:acs-aem-commons-ui.content:zip:min:5.6.0, com.adobe.acs:acs-aem-commons-ui.apps:zip:min:5.6.0: Could not find artifact com.adobe.acs:acs-aem-commons-ui.content:zip:min:5.6.0 in central (https://repo1.maven.org/maven2)

 

This is the error message I am getting since I tried to change my ACS Commons version. Previously, we were using ACS Commons 5.2.0, but we need something above 5.4.0. Any idea how this issue can be resolved?

And Whenever I try to build with the old version (5.2.0), the build runs successfully. 

5 Replies

Avatar

Community Advisor

@Ankan_Ghosh 

please refer to this version specific maven config changes (if you haven't already)

https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html

please let me know your findings..

Avatar

Community Advisor

@Ankan_Ghosh You can try updating your  settings.xml file to refer to your repository manager - could use - https://repo.adobe.com/nexus/content/groups/public

Or Check if it's getting downloaded or blocked by any firewall.

Avatar

Level 3

This was already present in my setting.xml. And after changing a little in Pom, the build was successful. But now the core bundle is in installed stage and throwing this error => com.adobe.acs.commons.email,version=[1.3,2) -- Cannot be resolved

Avatar

Level 3

Hi @Ankan_Ghosh,

 

I think you need to embed the ACS commons dependency in your project. If you have all package, it should be in all/pom.xml, if not then preferably it should be ui.apps/pom.xml. Please check if the below link helps.

 

https://adobe-consulting-services.github.io/acs-aem-commons/pages/maven.html

 

Regards,

Ramkumar

Avatar

Administrator

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