fix deployment code to allow distro to dice maven repo