Closed cpiotr closed 3 years ago
When annotations annotated with @IndexAnnotated are relocated during shading, the index file created in META-INF/annotations does not reflect the relocated package.
@IndexAnnotated
META-INF/annotations
META-INF └── annotations └── shaded.org.atteo.tobemoved.CustomAnnotation
META-INF └── annotations └── org.atteo.tobemoved.CustomAnnotation
Index file with classes annotated with annotations using @IndexAnnotated does not reflect relocations.
cat ./META-INF/annotations/org.atteo.tobemoved.CustomAnnotation shaded.org.atteo.CustomComponent
cat ./META-INF/annotations/org.atteo.tobemoved.CustomAnnotation org.atteo.tobemoved.CustomComponent
Index files
When annotations annotated with
@IndexAnnotated
are relocated during shading, the index file created inMETA-INF/annotations
does not reflect the relocated package.Expected
Actual
Index file contents
Index file with classes annotated with annotations using
@IndexAnnotated
does not reflect relocations.Expected
Actual