You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2011/07/02 19:17:43 UTC
[jira] Updated: (MSHADE-101) ApacheNoticeResourceTransformer
NullPointerException for some licenses when no parameters set.
[ https://jira.codehaus.org/browse/MSHADE-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies updated MSHADE-101:
------------------------------------
Affects Version/s: (was: 1.5)
1.4
Fix Version/s: 1.5
> ApacheNoticeResourceTransformer NullPointerException for some licenses when no parameters set.
> ----------------------------------------------------------------------------------------------
>
> Key: MSHADE-101
> URL: https://jira.codehaus.org/browse/MSHADE-101
> Project: Maven 2.x Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Robert Burrell Donkin
> Assignee: Benson Margulies
> Fix For: 1.5
>
> Attachments: ApacheNoticeResourceTransformer-NullPointerException.patch
>
>
> For some dependencies, ApacheNoticeResourceTransformer throws a NullPointerException when no parameters are set.
> Included in the patch are
> * an integration test case which demonstrates the problem,
> * a unit test case (including tests around this problem) and
> * my proposed (narrow) fix for ApacheNoticeResourceTransformer.
> ATM no parameter is mandatory. This may indicate an intention to support a basic use case without parameters. So this patch opts for a reasonable default.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira