Skip to content

Commit

Permalink
Update maven-shade-plugin and change shade rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jyhsu2000 committed Feb 13, 2024
1 parent 36e783a commit 4b70a3e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,30 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<version>3.5.1</version>
<configuration>
<artifactSet>
<includes>
<include>org.bstats:*</include>
<include>com.github.jyhsu2000:PluginUtilities</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*.*</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>club.kid7.bannermaker</shadedPattern>
<shadedPattern>club.kid7.bannermaker.bstats</shadedPattern>
</relocation>
<relocation>
<pattern>club.kid7.pluginutilities</pattern>
<shadedPattern>club.kid7.bannermaker</shadedPattern>
<shadedPattern>club.kid7.bannermaker.pluginutilities</shadedPattern>
</relocation>
</relocations>
</configuration>
Expand Down

0 comments on commit 4b70a3e

Please sign in to comment.