[ 
https://jira.codehaus.org/browse/MSHADE-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benson Margulies reassigned MSHADE-119:
---------------------------------------

    Assignee: Benson Margulies
    
> slash-leading classpath resources not properly rewritten when repackaging 
> classes
> ---------------------------------------------------------------------------------
>
>                 Key: MSHADE-119
>                 URL: https://jira.codehaus.org/browse/MSHADE-119
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Dawid Weiss
>            Assignee: Benson Margulies
>            Priority: Trivial
>
> This applies to Velocity, for example. The code pattern they use is:
> {code}
> getClass().getResource("/org/apache/velocity/myresource.properties")
> {code}
> this gets resolved as class loader relative resource and does point to 
> myresource.properties. When classes are repackaged, the resource name is not 
> properly updated and points nowhere (will not be found).
> Arguably this is a bad code pattern but it's frequent enough that there 
> should be built-in support for handling it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to