UP-4163 Fix maven build issues
UP-4163 Fixed for Windows where mvn is in \Program Files\...
Merge pull request #380 from jameswennmacher/UP-4163buildIssues40

UP-4163: Fix maven to honor 301 redirects.