fixed problem in pom with repository definition and simplified upload path definition to work for nightlies, milestone, and release builds