[
https://issues.apache.org/jira/browse/MSHADE-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
hk__lrzy updated MSHADE-452:
----------------------------
Attachment: 20230720-205900.png
20230720-205856.png
> Shade plugin can't replace SPI content with correct
> ---------------------------------------------------
>
> Key: MSHADE-452
> URL: https://issues.apache.org/jira/browse/MSHADE-452
> Project: Maven Shade Plugin
> Issue Type: Improvement
> Affects Versions: 3.5.0
> Reporter: hk__lrzy
> Priority: Critical
> Attachments: 20230720-205856.png, 20230720-205900.png
>
>
> We have java path like follow examples.
> `org.apache.demo1`
> `org.apache.demo2`
> With maven shaded plugin 3.2.1
> we can use relocation
> {code:java}
> <relocation>
> <pattern>org.apache.demo</pattern>
> <shadedPattern>shaded.org.apache.demo</shadedPattern>
> </relocation> {code}
> to relocate java file and META-INF/services file both.
> But with maven shaded plugin 3.5.0
> The file under META-INF/services also could be changed, but content didn't.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)