[
https://jira.codehaus.org/browse/MPLUGIN-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MPLUGIN-255.
---------------------------------
Resolution: Fixed
Assignee: Herve Boutemy
applied in [r1578572|http://svn.apache.org/r1578572]
thank you
> Generated HelpMojo doesn't close resource stream
> ------------------------------------------------
>
> Key: MPLUGIN-255
> URL: https://jira.codehaus.org/browse/MPLUGIN-255
> Project: Maven Plugin Tools
> Issue Type: Bug
> Affects Versions: 3.2
> Reporter: Juan Hernandez
> Assignee: Herve Boutemy
> Priority: Minor
> Fix For: 3.3
>
> Attachments: close-plugin-help-stream.patch
>
>
> The HelpMojo class generated from the src/main/resources/help-class-source.vm
> template doesn't close the input stream that it opens to load the
> plugin-help.xml resource. This doesn't cause a real problem, but some code
> auditing tools (findbugs, for example) complain about it. I think that the
> issue can be fixed with the attached patch.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)