Clean up pom.xml; upgrade dependencies
Use java.net.URL, not URI - it is more tolerant of bad URLs