emulates Maven's uniqueVersion snapshots