Hi All,
We are trying to include acs-commons latest version 6.0.14 but we are getting errors while building the package ( AEM cloud service)
Error:
SNAPSHOT: com.adobe.acs:acs-aem-commons-content:zip:min:6.0.14 was not found in https://repo.adobe.com/nexus/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of adobe-public-releases has elapsed or updates are forced.
Does anyone faced the same or any suggestions to resolve this issue.
Thanks
Himanshu
Solved! Go to Solution.
Views
Replies
Total Likes
So that's the Root Cause. 6.0.14 is not present in either maven public repo or nexus-repo.
Just checked they change their package name from 6.x.x. That's why the old dependency format is not working. Also, I am not sure about the new dependency.
https://github.com/Adobe-Consulting-Services/acs-aem-commons/releases
If you found the new dependency please let me know also. Otherwise 2 things you can do,
Hi,
To resolve the issue, ensure that the repository configuration is correct, check if the desired version is available, force an update by deleting the local cache, or explore alternative repositories.
Hello @Himanshu_Jain ,
Last week I faced the same Nexus Repository error "This failure was cached in the local repository...." for one of my internal project.
My finding was:
Note that in maven public repository ACS Commons version is available up to 5.7.0 https://mvnrepository.com/artifact/com.adobe.acs/acs-aem-commons-content
Hope in the Nexus repository your desired version is available. Please recheck this.
Issue is with the latest one 6.0.14
@Himanshu_Jain , Sorry for the confusion, My point was in Maven public repository 6.0.14 was not present. That's why it's trying to fetch the acs-aem-commons from nexus repository.
I think you crossed checked that the 6.0.14 version is present in Nexus repository?
So that's the Root Cause. 6.0.14 is not present in either maven public repo or nexus-repo.
Just checked they change their package name from 6.x.x. That's why the old dependency format is not working. Also, I am not sure about the new dependency.
https://github.com/Adobe-Consulting-Services/acs-aem-commons/releases
If you found the new dependency please let me know also. Otherwise 2 things you can do,
@Sady_Rifat We cannot install in cloud service it needs to be pushed via pipeline only .
I can see the package is present in Nexus repo.
https://repo.maven.apache.org/maven2
it seems you are using classifier as min. can you please remove
<classifier>min</classifier>
from POM and check.
@Nishant-Singh Thanks for highlighting , it was not available till day before yesterday .
Thanks
Himanshu
Views
Likes
Replies