You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2014/03/09 10:47:59 UTC
[jira] (MPLUGIN-255) Generated HelpMojo doesn't close resource
stream
[ https://jira.codehaus.org/browse/MPLUGIN-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MPLUGIN-255:
----------------------------------
Fix Version/s: 3.3
> 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
> 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)