PaperMC/MinecraftRelocate/pom.xml

65 lines
2.4 KiB
XML
Raw Normal View History

2014-06-26 22:07:23 +02:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-parent</artifactId>
<version>dev-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.spigotmc</groupId>
2014-07-08 23:10:12 +02:00
<artifactId>minecraft-server-relocated</artifactId>
2014-06-26 22:07:23 +02:00
<version>1.7.9-SNAPSHOT</version>
<packaging>jar</packaging>
2014-07-08 23:10:12 +02:00
<name>Minecraft Server Relocation</name>
2014-06-26 22:07:23 +02:00
<dependencies>
<dependency>
2014-07-08 23:10:12 +02:00
<groupId>org.spigotmc</groupId>
2014-06-26 22:07:23 +02:00
<artifactId>minecraft-server</artifactId>
2014-07-08 23:10:12 +02:00
<version>${project.version}</version>
2014-06-26 22:07:23 +02:00
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>net.minecraft.util.com.google</pattern>
<shadedPattern>com.google</shadedPattern>
</relocation>
<relocation>
<pattern>net.minecraft.util.gnu</pattern>
<shadedPattern>gnu</shadedPattern>
</relocation>
<relocation>
<pattern>net.minecraft.util.io</pattern>
<shadedPattern>io</shadedPattern>
</relocation>
<relocation>
<pattern>net.minecraft.util.org</pattern>
<shadedPattern>org</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
</plugins>
</build>
2014-07-08 23:10:12 +02:00
</project>