Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3
-
None
Description
When using the ServicesResourceTransformer in conjunction with relocators for classes that have META-INF/services/ entries, the behavior of the Shade Plugin is unexpected because those services files entries do not get relocated.
For example:
Relocator: org.foo.Clazz to org.foo.shaded.Clazz
Services files: META-INF/services/org.foo.Clazz
We would expect a services file at META-INF/services/org.foo.shaded.Clazz in the shaded jar, but that does not happen (the file remains at META-INF/services/org.foo.Clazz) since the ServicesResourceTransformer ignores the given Relocators.
Attachments
Attachments
Issue Links
- is duplicated by
-
MSHADE-221 ServicesResourceTransformator is not renaming the files itself in META-INF/services
- Closed
-
MSHADE-238 Shade does not relocate the filenames of META-INF/services files
- Closed
- relates to
-
SUREFIRE-2006 Don't use Services Transformer in shadefire
- Closed