Relocate PaperLib in EssentialsXSpawn too

fixes #2433
This commit is contained in:
kashike 2019-02-21 22:27:09 -08:00 committed by md678685
parent eafd110ed0
commit 289d34d96c
1 changed files with 27 additions and 0 deletions

View File

@ -13,6 +13,33 @@
<build>
<finalName>EssentialsXSpawn-${full.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactSet>
<includes>net.ess3:EssentialsXSpawn</includes>
</artifactSet>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>com.earth2me.essentials.paperlib</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>