Multiple fixes for plugin.maven

- pep8 fixes
- fix DownloadException not defined error