2019-12-01 23:52:07 +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>
|
2022-04-18 02:10:16 +02:00
|
|
|
<version>2.0.3-SNAPSHOT</version>
|
2019-12-01 23:52:07 +01:00
|
|
|
</parent>
|
|
|
|
<artifactId>bootstrap-bungeecord</artifactId>
|
2020-11-17 18:03:12 +01:00
|
|
|
|
2019-12-01 23:52:07 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
2021-11-20 20:56:40 +01:00
|
|
|
<artifactId>core</artifactId>
|
2022-04-18 02:10:16 +02:00
|
|
|
<version>2.0.3-SNAPSHOT</version>
|
2019-12-01 23:52:07 +01:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-07-31 18:52:49 +02:00
|
|
|
<!-- Used for better working with internals without reflection -->
|
2019-12-01 23:52:07 +01:00
|
|
|
<dependency>
|
2021-07-31 18:52:49 +02:00
|
|
|
<groupId>com.github.SpigotMC.BungeeCord</groupId>
|
|
|
|
<artifactId>bungeecord-proxy</artifactId>
|
|
|
|
<version>a7c6ede</version>
|
2019-12-01 23:52:07 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
2019-12-02 00:10:58 +01:00
|
|
|
<finalName>${outputName}-BungeeCord</finalName>
|
2019-12-01 23:52:07 +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>
|
2021-11-20 22:34:30 +01:00
|
|
|
<Main-Class>org.geysermc.geyser.platform.bungeecord.GeyserBungeeMain</Main-Class>
|
2020-04-30 08:40:45 +02:00
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-01 23:52:07 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2022-04-23 20:14:09 +02:00
|
|
|
<version>3.3.0</version>
|
2019-12-01 23:52:07 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
2019-12-09 05:41:50 +01:00
|
|
|
<configuration>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>net.md_5.bungee.jni</pattern>
|
2021-11-20 22:34:30 +01:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.bungeecord.shaded.jni</shadedPattern>
|
2019-12-09 05:41:50 +01:00
|
|
|
</relocation>
|
2020-09-02 06:38:10 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.fasterxml.jackson</pattern>
|
2021-11-20 22:34:30 +01:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.bungeecord.shaded.jackson</shadedPattern>
|
2020-09-02 06:38:10 +02:00
|
|
|
</relocation>
|
2020-01-01 00:00:06 +01:00
|
|
|
<relocation>
|
2021-05-23 21:55:01 +02:00
|
|
|
<!-- This is not used because relocating breaks natives, but we must include it
|
|
|
|
or else we get ClassDefNotFound -->
|
|
|
|
<pattern>io.netty.channel.kqueue</pattern>
|
2021-11-20 22:34:30 +01:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.bungeecord.shaded.io.netty.channel.kqueue</shadedPattern>
|
2020-01-01 00:00:06 +01:00
|
|
|
</relocation>
|
2020-09-02 06:38:10 +02:00
|
|
|
<relocation>
|
2021-01-11 20:11:21 +01:00
|
|
|
<pattern>net.kyori</pattern>
|
2021-11-20 22:34:30 +01:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.bungeecord.shaded.kyori</shadedPattern>
|
2020-09-02 06:38:10 +02:00
|
|
|
</relocation>
|
2019-12-09 05:41:50 +01:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
2019-12-01 23:52:07 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2019-12-09 05:41:50 +01:00
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
2021-09-27 02:54:44 +02:00
|
|
|
<exclude>com.google.*:*</exclude>
|
2019-12-09 05:41:50 +01:00
|
|
|
<exclude>org.yaml:*</exclude>
|
2021-05-23 21:55:01 +02:00
|
|
|
<exclude>io.netty:netty-transport-native-epoll:*</exclude>
|
|
|
|
<exclude>io.netty:netty-transport-native-unix-common:*</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-resolver-dns:*</exclude>
|
2019-12-09 05:41:50 +01:00
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2019-12-01 23:52:07 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-05-23 23:50:04 +02:00
|
|
|
</project>
|