[ui-build-to-maven] build-ui.sh updates