ACS Commons install issue | Community
Skip to main content
Ankan_Ghosh
October 6, 2023

ACS Commons install issue

  • October 6, 2023
  • 3 replies
  • 3093 views

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

A_H_M_Imrul
Community Advisor
Community Advisor
October 6, 2023

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

Manu_Mathew_
Community Advisor
Community Advisor
October 9, 2023

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

Ankan_Ghosh
October 9, 2023

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

rk_pandian
March 22, 2024

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

kautuk_sahni
Community Manager
Community Manager
October 11, 2023

@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