Expand my Community achievements bar.

SOLVED

Facing issue while build

Avatar

Level 3

[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 

1 Accepted Solution

Avatar

Correct answer by
Level 3

 

mvn clean install -PautoInstallPackage -Padobe-public

 

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

View solution in original post

4 Replies

Avatar

Level 7

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 

Avatar

Correct answer by
Level 3

 

mvn clean install -PautoInstallPackage -Padobe-public

 

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