Created
October 28, 2022 13:50
-
-
Save milovtim/ebea24bdf11e23b0f988ef1222394dc1 to your computer and use it in GitHub Desktop.
Maven caches all failed download attempts. After you fixed issues (it's often ssl certificates problems) you need to drop old data about failures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/.m2 -name "*.lastUpdated" \ | |
-exec grep -q "Could not transfer" {} \; \ | |
-print \ | |
-exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works on Windows too in Git-Bash environment