CodeCoverage Plugin

Disable DTD schema download

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Blocker 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.

Activity

Hide
Matthias Hryniszak added a comment -

This simple fix uses a well known feature of the SAXParserFactory that disables loading of external DTDs.

Show
Matthias Hryniszak added a comment - This simple fix uses a well known feature of the SAXParserFactory that disables loading of external DTDs.
Hide
Matthias Hryniszak added a comment -

Guys, it is vital for us to move to Grails 1.3.7 and this issue is the only blocker we have that stops us from getting there. Is there a way we could push this hotfix ASAP?

Show
Matthias Hryniszak added a comment - Guys, it is vital for us to move to Grails 1.3.7 and this issue is the only blocker we have that stops us from getting there. Is there a way we could push this hotfix ASAP?
Hide
Mike Hugo added a comment -

thanks for the patch!
please try plugin version 1.2.3 and close this ticket if it works.

Show
Mike Hugo added a comment - thanks for the patch! please try plugin version 1.2.3 and close this ticket if it works.
Hide
Matthias Hryniszak added a comment -

Works like a charm! Thanks for such a quick response! You rock!

Show
Matthias Hryniszak added a comment - Works like a charm! Thanks for such a quick response! You rock!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: