Task 'Rebuilding Maven Metadata' execution failure

This seems to be an big with malformed artifact versions, it’s here sitting since a few month: [NEXUS-31231] Invalid snapshot version will cause Maven metadata rebuild process to fail with NullPointerException - Sonatype JIRA

There are also other NPEs in this area, which is quite unfortunate since it is especially important in critical restore situations… (as I learned last weekend ,)