[ERROR] Failed to execute goal on project testproject.core: Could not resolve dependencies for project com.testproject.core:jar:1.0-SNAPSHOT: Failure to find org.apache.commons:commons-imaging:jar:1.0-R1534292 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
I getting above error while giving build
can someone please help me with this
Solved! Go to Solution.
mvn clean install -PautoInstallPackage -Padobe-public
using above command my issue is resolved, Build got successful .
Please check https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/not-able-to-build-project-...
Please refer this article which explains in detail
https://www.linkedin.com/pulse/sunsecurityvalidatorvalidatorexception-pkix-path-failed-vikraman/
Hope this is helpful
Hi @mamathary999 ,
Provided error logs doesn't complain about security validations, assuming you already have required ssl certificate to your JRE.
As error indicated that its due to already cached artifact in maven. So, you can try to delete "commons-imaging" from .m2/repository and run again maven clean install
mvn clean install -PautoInstallPackage -Padobe-public
using above command my issue is resolved, Build got successful .