While running “mvn install” We may receive the following error:
Reason:
The problem here was an empty/corrupted maven-metadata-local.xml in our local repository of the artifact wanted to install.
Solution:
Find the maven-metadata-local.xml using below given command
Remove the file maven-metadata-local.xml from that location and run "mvn install". This will work perfectly.
Error installing artifact's metadata: Error installing metadata:
Error updating group repository metadata
input contained no data
Reason:
The problem here was an empty/corrupted maven-metadata-local.xml in our local repository of the artifact wanted to install.
Solution:
Find the maven-metadata-local.xml using below given command
sudo find / -name maven-metadata-local.xml -empty -print
Remove the file maven-metadata-local.xml from that location and run "mvn install". This will work perfectly.
Thanks :) This helped me
ReplyDelete