2019-12-01 21:16:52 +00: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-11-24 15:14:27 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2019-12-01 21:16:52 +00:00
|
|
|
</parent>
|
2020-05-26 14:05:25 +00:00
|
|
|
<artifactId>bootstrap-spigot</artifactId>
|
2020-11-17 17:03:12 +00:00
|
|
|
|
2021-04-24 19:18:41 +00:00
|
|
|
<repositories>
|
2021-12-27 18:58:09 +00:00
|
|
|
<repository>
|
|
|
|
<id>papermc</id>
|
|
|
|
<url>https://papermc.io/repo/repository/maven-public/</url>
|
|
|
|
</repository>
|
2021-04-24 19:18:41 +00:00
|
|
|
<repository>
|
|
|
|
<id>viaversion-repo</id>
|
|
|
|
<url>https://repo.viaversion.com</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2019-12-01 21:16:52 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
2021-11-20 19:56:40 +00:00
|
|
|
<artifactId>core</artifactId>
|
2021-11-24 15:14:27 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2019-12-01 21:16:52 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-12-27 18:58:09 +00:00
|
|
|
<groupId>io.papermc.paper</groupId>
|
|
|
|
<artifactId>paper-api</artifactId>
|
|
|
|
<version>1.18.1-R0.1-SNAPSHOT</version>
|
2019-12-01 21:16:52 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-05-10 02:37:18 +00:00
|
|
|
<dependency>
|
2021-05-01 04:30:01 +00:00
|
|
|
<groupId>com.viaversion</groupId>
|
2020-05-10 02:37:18 +00:00
|
|
|
<artifactId>viaversion</artifactId>
|
2021-06-07 18:56:29 +00:00
|
|
|
<version>4.0.0</version>
|
2020-05-10 02:37:18 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-11-20 19:56:39 +00:00
|
|
|
<dependency>
|
2021-02-04 00:54:12 +00:00
|
|
|
<groupId>org.geysermc.geyser.adapters</groupId>
|
2020-11-20 19:56:39 +00:00
|
|
|
<artifactId>spigot-all</artifactId>
|
2021-12-13 18:35:11 +00:00
|
|
|
<version>1.3-SNAPSHOT</version>
|
2020-11-20 19:56:39 +00:00
|
|
|
</dependency>
|
2019-12-01 21:16:52 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
2020-05-26 14:05:25 +00:00
|
|
|
<finalName>${outputName}-Spigot</finalName>
|
2019-12-01 21:16:52 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources/</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2020-04-30 06:40:45 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
2021-11-20 21:34:30 +00:00
|
|
|
<Main-Class>org.geysermc.geyser.platform.spigot.GeyserSpigotMain</Main-Class>
|
2020-04-30 06:40:45 +00:00
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-01 21:16:52 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2021-09-10 18:10:56 +00:00
|
|
|
<version>3.3.0-SNAPSHOT</version>
|
2019-12-01 21:16:52 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
2019-12-09 04:41:50 +00:00
|
|
|
<configuration>
|
2020-01-18 22:38:40 +00:00
|
|
|
<relocations>
|
2020-03-10 23:40:22 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
2021-11-20 21:34:30 +00:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.fastutil</shadedPattern>
|
2020-03-10 23:40:22 +00:00
|
|
|
</relocation>
|
2020-06-09 01:23:15 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.fasterxml.jackson</pattern>
|
2021-11-20 21:34:30 +00:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.jackson</shadedPattern>
|
2020-06-23 23:51:59 +00:00
|
|
|
</relocation>
|
2020-09-02 04:38:10 +00:00
|
|
|
<relocation>
|
2021-01-11 19:11:21 +00:00
|
|
|
<pattern>net.kyori</pattern>
|
2021-11-20 21:34:30 +00:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.kyori</shadedPattern>
|
2020-09-02 04:38:10 +00:00
|
|
|
</relocation>
|
2021-06-23 17:57:03 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>org.objectweb.asm</pattern>
|
2021-11-20 21:34:30 +00:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.spigot.shaded.asm</shadedPattern>
|
2021-06-23 17:57:03 +00:00
|
|
|
</relocation>
|
2020-01-18 22:38:40 +00:00
|
|
|
</relocations>
|
2019-12-09 04:41:50 +00:00
|
|
|
</configuration>
|
2019-12-01 21:16:52 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2019-12-09 04:41:50 +00:00
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
2021-09-27 00:54:44 +00:00
|
|
|
<exclude>com.google.*:*</exclude>
|
2019-12-09 04:41:50 +00:00
|
|
|
<exclude>org.yaml:*</exclude>
|
2021-05-23 19:55:01 +00: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 04:41:50 +00:00
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2019-12-01 21:16:52 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|