The -o flag still didn't work for me, but it happened:
find ~/.m2/repository -name '_maven*' | xargs rm find ~/.m2/repository -name '*lastUpdated' | xargs rm
All .lastUpdated and _maven.repositories files in your local repo will be deleted. I ran into this problem because we have a corporate Nexus repository that was not available and I needed to do some work. Using the Eclipse Maven integration may also have contributed to this.
fivetenwill
source share