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
Attachments: annotated.zip
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