也就是雪莲Utils,只是冬花的小工具箱而已,我认为叫它FlowerinsnowUtils
太过单调,就叫这个吧
common
- java基础常用类spigot-common
- Spigot通用常用类spigot-18-111
- Spigot1.8~1.11常用类spigot-112
- Spigot1.12常用类xml
- 一个XML解析器,基于W3C DOM,README.md
<repository>
<id>SaussureaUtils</id>
<url>https://maven.pkg.github.com/flowerinsnowdh/SaussureaUtils</url>
</repository>
<dependency>
<groupId>online.flowerinsnow</groupId>
<artifactId>saussureautils-[模块]</artifactId>
<version>3.0.1</version>
</dependency>
建议在shade时使用relocation来防止依赖冲突
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<relocations>
<!--
把online.flowerinsnow.saussureautils包
重定向到your.pack.here.shaded.online.flowerinsnow.saussureautils
-->
<relocation>
<pattern>online.flowerinsnow.saussureautils</pattern>
<shadedPattern>your.pack.here.shaded.online.flowerinsnow.saussureautils</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>