[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-install-plugin:2.3.1:install
(default-install) on project ecommerce-web: Failed to install metadat
Please backup your .m2 file when it working properly. In case you get above mentioned issue. you can replace the .m2 file which you have got backup. The issue can happen when corrupt the m2 file when occur the power cut kind of issue in advance. Then you wont get same issue again and again.