Maven 2 & 3

new URI( url.toString() ) when using a jar path with a space in it results in error