Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Facing issue while build

Avatar

Level 2

[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 2

 

mvn clean install -PautoInstallPackage -Padobe-public

 

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

View solution in original post

4 Replies

Avatar

Community Advisor

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 2

 

mvn clean install -PautoInstallPackage -Padobe-public

 

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