[MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form merge -c 930528 from 1.3.x branch with some tweaks in the unit and selenium tests