Facing issue while build | Community
Skip to main content
November 3, 2022
Solved

Facing issue while build

  • November 3, 2022
  • 4 replies
  • 1119 views

[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 

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

 

mvn clean install -PautoInstallPackage -Padobe-public

 

using above command my issue is resolved, Build got successful . 

4 replies

arunpatidar
Community Advisor
Community Advisor
November 3, 2022
Mani_kumar_
Community Advisor
Community Advisor
November 3, 2022

Please refer this article which explains in detail

 

https://www.linkedin.com/pulse/sunsecurityvalidatorvalidatorexception-pkix-path-failed-vikraman/

 

Hope this is helpful

BrijeshYadav
November 3, 2022

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 

mamathary999AuthorAccepted solution
November 4, 2022

 

mvn clean install -PautoInstallPackage -Padobe-public

 

using above command my issue is resolved, Build got successful .