Sometimes I'm running several maven commands in parallel (different shells) and sometimes in these cases this ends in a corrupted repository.xml.
It seems that in this case the repository.xml just contains this single line:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
which produces errors when it is tried to be read again.
I guess that there are not that many people running maven in parallel but I think the repository.xml shouldn't be corrupted/erased in these cases either