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

Benjamin Bentmann closed MSHADE-79.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.3
         Assignee: Benjamin Bentmann

Patch applied in 
[r942366|http://svn.apache.org/viewvc?view=revision&revision=942366], extended 
approach in 
[r942370|http://svn.apache.org/viewvc?view=revision&revision=942370] to fix 
field annotation handling, too. Thanks!

> Annotations are not shaded
> --------------------------
>
>                 Key: MSHADE-79
>                 URL: http://jira.codehaus.org/browse/MSHADE-79
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Brian Kramer
>            Assignee: Benjamin Bentmann
>             Fix For: 1.3.3
>
>         Attachments: annotated.zip, annotation_remap.diff
>
>
> We have some classes that are annotated in order to find certain 
> functionality and activate it.  Those classes, as well as the annotations, 
> are included in the resulting jar.  Both the annotation and the annotated 
> classes have been relocated, but the annotation on the annotated class still 
> refers to non-relocated annotation class.
> The attached project demonstrates the issue.
> This works (exit status 0):
> java -classpath annotated-0.0.1-SNAPSHOT.jar test.annotation.annotated.App
> This fails (exit status 1):
> java -classpath annotated-0.0.1-SNAPSHOT-shaded.jar 
> shaded.test.annotation.annotated.App

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to