2019-12-01 22:16:52 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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.geysermc</groupId>
|
|
|
|
<artifactId>bootstrap-parent</artifactId>
|
2021-06-08 14:55:56 +02:00
|
|
|
<version>1.4.0-SNAPSHOT</version>
|
2019-12-01 22:16:52 +01:00
|
|
|
</parent>
|
2020-05-26 16:05:25 +02:00
|
|
|
<artifactId>bootstrap-spigot</artifactId>
|
2020-11-17 18:03:12 +01:00
|
|
|
|
2021-04-24 21:18:41 +02:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>viaversion-repo</id>
|
|
|
|
<url>https://repo.viaversion.com</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2019-12-01 22:16:52 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>connector</artifactId>
|
2021-06-08 14:55:56 +02:00
|
|
|
<version>1.4.0-SNAPSHOT</version>
|
2019-12-01 22:16:52 +01:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
2020-09-04 01:00:36 +02:00
|
|
|
<version>1.15.2-R0.1-SNAPSHOT</version>
|
2019-12-01 22:16:52 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-05-10 04:37:18 +02:00
|
|
|
<dependency>
|
2021-05-01 06:30:01 +02:00
|
|
|
<groupId>com.viaversion</groupId>
|
2020-05-10 04:37:18 +02:00
|
|
|
<artifactId>viaversion</artifactId>
|
2021-06-07 20:56:29 +02:00
|
|
|
<version>4.0.0</version>
|
2020-05-10 04:37:18 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-11-20 20:56:39 +01:00
|
|
|
<dependency>
|
2021-02-04 01:54:12 +01:00
|
|
|
<groupId>org.geysermc.geyser.adapters</groupId>
|
2020-11-20 20:56:39 +01:00
|
|
|
<artifactId>spigot-all</artifactId>
|
2021-02-04 01:54:12 +01:00
|
|
|
<version>1.1-SNAPSHOT</version>
|
2020-11-20 20:56:39 +01:00
|
|
|
</dependency>
|
2019-12-01 22:16:52 +01:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
2020-05-26 16:05:25 +02:00
|
|
|
<finalName>${outputName}-Spigot</finalName>
|
2019-12-01 22:16:52 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources/</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2020-04-30 08:40:45 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
2020-05-26 16:05:25 +02:00
|
|
|
<Main-Class>org.geysermc.platform.spigot.GeyserSpigotMain</Main-Class>
|
2020-04-30 08:40:45 +02:00
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-01 22:16:52 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2019-12-02 00:10:58 +01:00
|
|
|
<version>3.2.1</version>
|
2019-12-01 22:16:52 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
2019-12-09 05:41:50 +01:00
|
|
|
<configuration>
|
2020-01-18 23:38:40 +01:00
|
|
|
<relocations>
|
2020-03-11 00:40:22 +01:00
|
|
|
<relocation>
|
|
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
2020-05-26 16:05:25 +02:00
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.fastutil</shadedPattern>
|
2020-03-11 00:40:22 +01:00
|
|
|
</relocation>
|
2020-06-09 03:23:15 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.fasterxml.jackson</pattern>
|
2020-06-24 01:51:59 +02:00
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.jackson</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
2020-08-28 17:29:48 +02:00
|
|
|
<pattern>org.reflections</pattern>
|
2020-06-24 01:51:59 +02:00
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.reflections</shadedPattern>
|
2020-06-09 03:23:15 +02:00
|
|
|
</relocation>
|
2020-09-03 05:42:53 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.common</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.google.common</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-02 06:38:10 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.guava</pattern>
|
2020-09-03 05:42:53 +02:00
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.google.guava</shadedPattern>
|
2020-09-02 06:38:10 +02:00
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.dom4j</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.dom4j</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
2021-01-11 20:11:21 +01:00
|
|
|
<pattern>net.kyori</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.kyori</shadedPattern>
|
2020-09-02 06:38:10 +02:00
|
|
|
</relocation>
|
2021-06-23 19:57:03 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>org.objectweb.asm</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.spigot.shaded.asm</shadedPattern>
|
|
|
|
</relocation>
|
2020-01-18 23:38:40 +01:00
|
|
|
</relocations>
|
2019-12-09 05:41:50 +01:00
|
|
|
</configuration>
|
2019-12-01 22:16:52 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2019-12-09 05:41:50 +01:00
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>com.google.code.gson:*</exclude>
|
|
|
|
<exclude>org.yaml:*</exclude>
|
2021-05-23 21:55:01 +02:00
|
|
|
<!-- We cannot shade Netty, or else native libraries will not load -->
|
|
|
|
<!-- Needed because older Spigot builds do not provide the haproxy module -->
|
|
|
|
<exclude>io.netty:netty-transport-native-epoll:*</exclude>
|
|
|
|
<exclude>io.netty:netty-transport-native-unix-common:*</exclude>
|
|
|
|
<exclude>io.netty:netty-transport-native-kqueue:*</exclude>
|
|
|
|
<exclude>io.netty:netty-handler:*</exclude>
|
|
|
|
<exclude>io.netty:netty-common:*</exclude>
|
|
|
|
<exclude>io.netty:netty-buffer:*</exclude>
|
|
|
|
<exclude>io.netty:netty-resolver:*</exclude>
|
|
|
|
<exclude>io.netty:netty-transport:*</exclude>
|
|
|
|
<exclude>io.netty:netty-codec:*</exclude>
|
|
|
|
<exclude>io.netty:netty-codec-dns:*</exclude>
|
|
|
|
<exclude>io.netty:netty-resolver-dns:*</exclude>
|
|
|
|
<exclude>io.netty:netty-resolver-dns-native-macos:*</exclude>
|
2019-12-09 05:41:50 +01:00
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2019-12-01 22:16:52 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|