[ https://issues.apache.org/jira/browse/MSHADE-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hk__lrzy updated MSHADE-452: ---------------------------- Flags: Important Description: 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. was:In version 3.2.1 > 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 > > 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)