When there is a problem while downloading maven pom, pom file ends up contains html content instead pom
. So, this is a command to delete all these pom files.
for f in $(grep "<html>" . -lIr); do rm ${f}; done
mvn clean install
Updated with -I flag to ignore binary files
No comments:
Post a Comment