2020-02-08 20:43:25 +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-09-10 20:10:56 +02:00
|
|
|
<version>1.4.3-SNAPSHOT</version>
|
2020-02-08 20:43:25 +01:00
|
|
|
</parent>
|
|
|
|
<artifactId>bootstrap-velocity</artifactId>
|
2020-11-17 18:03:12 +01:00
|
|
|
|
2020-02-08 20:43:25 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
2021-11-20 20:56:40 +01:00
|
|
|
<artifactId>core</artifactId>
|
2021-09-10 20:10:56 +02:00
|
|
|
<version>1.4.3-SNAPSHOT</version>
|
2020-02-08 20:43:25 +01:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.velocitypowered</groupId>
|
|
|
|
<artifactId>velocity-api</artifactId>
|
2021-07-06 21:37:58 +02:00
|
|
|
<version>3.0.0</version>
|
2020-02-08 20:43:25 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>${outputName}-Velocity</finalName>
|
|
|
|
<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.velocity.GeyserVelocityMain</Main-Class>
|
2020-04-30 08:40:45 +02:00
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-02-08 20:43:25 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2021-09-10 20:10:56 +02:00
|
|
|
<version>3.3.0-SNAPSHOT</version>
|
2020-02-08 20:43:25 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
2020-04-05 07:44:23 +02:00
|
|
|
<configuration>
|
|
|
|
<relocations>
|
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.velocity.shaded.jackson</shadedPattern>
|
2020-09-02 06:38:10 +02:00
|
|
|
</relocation>
|
2020-04-05 07:44:23 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
2021-11-20 22:34:30 +01:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.velocity.shaded.fastutil</shadedPattern>
|
2020-04-05 07:44:23 +02:00
|
|
|
</relocation>
|
2020-09-02 06:38:10 +02:00
|
|
|
<relocation>
|
2021-01-17 04:18:13 +01:00
|
|
|
<pattern>net.kyori.adventure.text.serializer.gson.legacyimpl</pattern>
|
2021-11-20 22:34:30 +01:00
|
|
|
<shadedPattern>org.geysermc.geyser.platform.velocity.shaded.kyori.legacyimpl</shadedPattern>
|
2020-09-02 06:38:10 +02:00
|
|
|
</relocation>
|
2020-04-05 07:44:23 +02:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
2020-02-08 20:43:25 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
2021-09-27 02:54:44 +02:00
|
|
|
<exclude>com.google.*:*</exclude>
|
2020-12-14 05:03:11 +01:00
|
|
|
<!-- Needed because Velocity provides every dependency except netty-resolver-dns -->
|
|
|
|
<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>
|
2021-05-23 21:55:01 +02:00
|
|
|
<exclude>io.netty:netty-codec-haproxy:*</exclude>
|
2020-02-08 20:43:25 +01:00
|
|
|
<exclude>org.slf4j:*</exclude>
|
|
|
|
<exclude>org.ow2.asm:*</exclude>
|
2021-01-17 04:18:13 +01:00
|
|
|
<!-- Exclude all Kyori dependencies except the legacy NBT serializer -->
|
|
|
|
<exclude>net.kyori:adventure-api:*</exclude>
|
|
|
|
<exclude>net.kyori:examination-api:*</exclude>
|
|
|
|
<exclude>net.kyori:examination-string:*</exclude>
|
|
|
|
<exclude>net.kyori:adventure-text-serializer-gson:*</exclude>
|
|
|
|
<exclude>net.kyori:adventure-text-serializer-legacy:*</exclude>
|
|
|
|
<exclude>net.kyori:adventure-nbt:*</exclude>
|
2020-02-08 20:43:25 +01:00
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|