File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 177177 </configuration >
178178 </plugin >
179179
180+ <!-- Maven Shade Plugin - 重命名 fastjson2 包名 -->
181+ <plugin >
182+ <groupId >org.apache.maven.plugins</groupId >
183+ <artifactId >maven-shade-plugin</artifactId >
184+ <version >3.2.4</version >
185+ <executions >
186+ <execution >
187+ <phase >package</phase >
188+ <goals >
189+ <goal >shade</goal >
190+ </goals >
191+ <configuration >
192+ <relocations >
193+ <relocation >
194+ <pattern >com.alibaba.fastjson2</pattern >
195+ <shadedPattern >org.nebula.contrib.ngbatis.internal.fastjson2</shadedPattern >
196+ </relocation >
197+ </relocations >
198+ <filters >
199+ <filter >
200+ <artifact >*:*</artifact >
201+ <excludes >
202+ <exclude >META-INF/*.SF</exclude >
203+ <exclude >META-INF/*.DSA</exclude >
204+ <exclude >META-INF/*.RSA</exclude >
205+ </excludes >
206+ </filter >
207+ </filters >
208+ </configuration >
209+ </execution >
210+ </executions >
211+ </plugin >
212+
180213 <!-- compiler -->
181214 <plugin >
182215 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments