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

UP-4163: Fix maven to honor 301 redirects.