Fix google libs relocation

This commit is contained in:
Gabriele C 2016-02-11 18:13:43 +01:00
parent a74eeb5e44
commit dd8795a1bf

21
pom.xml
View File

@ -182,8 +182,8 @@
<shadedPattern>fr.xephi.authme.libs.similarity</shadedPattern> <shadedPattern>fr.xephi.authme.libs.similarity</shadedPattern>
</relocation> </relocation>
<relocation> <relocation>
<pattern>com.google</pattern> <pattern>com.google.gson</pattern>
<shadedPattern>fr.xephi.authme.libs.google</shadedPattern> <shadedPattern>fr.xephi.authme.libs.google.gson</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
</configuration> </configuration>
@ -210,6 +210,16 @@
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<relocations>
<relocation>
<pattern>com.google.thirdparty</pattern>
<shadedPattern>fr.xephi.authme.libs.google.thirdparty</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.commons</pattern>
<shadedPattern>fr.xephi.authme.libs.google.commons</shadedPattern>
</relocation>
</relocations>
<outputFile>target/${jarName}-legacy.jar</outputFile> <outputFile>target/${jarName}-legacy.jar</outputFile>
</configuration> </configuration>
</execution> </execution>
@ -296,13 +306,6 @@
<id>xephi-repo</id> <id>xephi-repo</id>
<url>http://ci.xephi.fr/plugin/repository/everything/</url> <url>http://ci.xephi.fr/plugin/repository/everything/</url>
</repository> </repository>
<!-- PermissionsEx Repo (NOW HOSTED ON XEPHI REPO due to connectio issues)
<repository>
<id>pex-repo</id>
<url>https://pex-repo.aoeu.xyz//</url>
</repository>
-->
</repositories> </repositories>
<dependencies> <dependencies>