fixing script to upload jars to java repository