Fix maven building issues

This commit is contained in:
Phoenix616 2019-03-26 13:06:51 +01:00
parent 93149fe488
commit 5eba37c68b
2 changed files with 8 additions and 3 deletions

View File

@ -14,7 +14,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<build.number>${buildNumber}</build.number>
<minecraft.plugin.name>${project.name}</minecraft.plugin.name>
<minecraft.plugin.name>RandomTeleport</minecraft.plugin.name>
<minecraft.plugin.version>${project.version} ${buildDescription}</minecraft.plugin.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@ -65,6 +65,7 @@
<groupId>de.themoep.utils</groupId>
<artifactId>lang-bukkit</artifactId>
<version>1.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -46,7 +46,7 @@
<build>
<finalName>${minecraft.plugin.name}</finalName>
<outputDirectory>../target/</outputDirectory>
<directory>../target/</directory>
<resources>
<resource>
<filtering>true</filtering>
@ -63,7 +63,11 @@
<relocations>
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>de.themoep.randomteleport.paperlib</shadedPattern>
<shadedPattern>de.themoep.randomteleport.libs.paperlib</shadedPattern>
</relocation>
<relocation>
<pattern>de.themoep.utils.lang</pattern>
<shadedPattern>de.themoep.randomteleport.libs.lang</shadedPattern>
</relocation>
</relocations>
</configuration>