refine upload maven script