Today I had a problem compiling and installing a simple maven project.
Every time I ran “mvn install” I received the following error:
Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata input contained no data
The problem here was an empty maven-metadata-local.xml in my local repository of the artifact I wanted to install. After completely removing this artifact from my repository an install was possible.
4 replies on “Maven: “Error installing metadata””
Thank you! This helped me greatly!
Thank you! I was stuck stuck stuck.
for those trying to find said file;
sudo find / -name maven-metadata-local.xml -empty -print
Thanks a lot .. i was banging my head on this issue for a while
Thanks a lot.