2019-12-01 22:52:07 +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-06-08 12:55:56 +00:00
|
|
|
<version>1.4.0-SNAPSHOT</version>
|
2019-12-01 22:52:07 +00:00
|
|
|
</parent>
|
|
|
|
<artifactId>bootstrap-bungeecord</artifactId>
|
2020-11-17 17:03:12 +00:00
|
|
|
|
2019-12-01 22:52:07 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>connector</artifactId>
|
2021-06-08 12:55:56 +00:00
|
|
|
<version>1.4.0-SNAPSHOT</version>
|
2019-12-01 22:52:07 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.md-5</groupId>
|
|
|
|
<artifactId>bungeecord-api</artifactId>
|
2021-05-22 13:26:47 +00:00
|
|
|
<version>1.16-R0.5-SNAPSHOT</version>
|
2019-12-01 22:52:07 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
2019-12-01 23:10:58 +00:00
|
|
|
<finalName>${outputName}-BungeeCord</finalName>
|
2019-12-01 22:52:07 +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>
|
|
|
|
<Main-Class>org.geysermc.platform.bungeecord.GeyserBungeeMain</Main-Class>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-01 22:52:07 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2019-12-01 23:10:58 +00:00
|
|
|
<version>3.2.1</version>
|
2019-12-01 22:52:07 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
2019-12-09 04:41:50 +00:00
|
|
|
<configuration>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>net.md_5.bungee.jni</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.jni</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-02 04:38:10 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.fasterxml.jackson</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.jackson</shadedPattern>
|
|
|
|
</relocation>
|
2019-12-31 23:00:06 +00:00
|
|
|
<relocation>
|
2021-05-23 19:55:01 +00: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>
|
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.io.netty.channel.kqueue</shadedPattern>
|
2019-12-31 23:00:06 +00:00
|
|
|
</relocation>
|
2020-06-23 23:51:59 +00:00
|
|
|
<relocation>
|
2020-08-28 15:29:48 +00:00
|
|
|
<pattern>org.reflections</pattern>
|
2020-06-23 23:51:59 +00:00
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.reflections</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-03 03:42:53 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.common</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.google.common</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-02 04:38:10 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.guava</pattern>
|
2020-09-03 03:42:53 +00:00
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.google.guava</shadedPattern>
|
2020-09-02 04:38:10 +00:00
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.dom4j</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.dom4j</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
2021-01-11 19:11:21 +00:00
|
|
|
<pattern>net.kyori</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.kyori</shadedPattern>
|
2020-09-02 04:38:10 +00:00
|
|
|
</relocation>
|
2019-12-09 04:41:50 +00:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
2019-12-01 22:52:07 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2019-12-09 04:41:50 +00:00
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>com.google.code.gson:*</exclude>
|
|
|
|
<exclude>org.yaml:*</exclude>
|
2021-05-23 19:55:01 +00: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 04:41:50 +00:00
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2019-12-01 22:52:07 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-05-23 21:50:04 +00:00
|
|
|
</project>
|