Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Linux, NTLM proxy
Description
When using the code-coverage plugin from behind an NTLM proxy (like in most enterprises these days) the plugin fails to download the file:
http://cobertura.sourceforge.net/xml/coverage-04.dtd
This causes the build to fail every time.
This simple fix uses a well known feature of the SAXParserFactory that disables loading of external DTDs.