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.5
            Reporter: Robert Burrell Donkin
         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

        

Reply via email to