sonatype/nexus — pull request #101 by velo (2011-11-24 15:55:34+00:00)
Title: Nexus 4611 close stage repo

Although I do prefer this code to still handle Stream and not String, the stream error message do not give me much details:
Caused by: org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.

So I changed it to String in hope to get more information on what is going wrong here.