2019-07-08 17:55:14 +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>geyser-parent</artifactId>
|
2021-11-24 15:14:27 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2019-07-08 17:55:14 +00:00
|
|
|
</parent>
|
2021-11-20 19:56:40 +00:00
|
|
|
<artifactId>core</artifactId>
|
2020-11-17 17:03:12 +00:00
|
|
|
|
2021-02-17 23:00:53 +00:00
|
|
|
<properties>
|
2021-10-31 19:04:04 +00:00
|
|
|
<adventure.version>4.9.3</adventure.version>
|
2021-06-06 14:12:49 +00:00
|
|
|
<fastutil.version>8.5.2</fastutil.version>
|
2021-08-17 00:39:29 +00:00
|
|
|
<jackson.version>2.12.4</jackson.version>
|
|
|
|
<netty.version>4.1.66.Final</netty.version>
|
2021-02-17 23:00:53 +00:00
|
|
|
</properties>
|
|
|
|
|
2019-07-08 17:55:14 +00:00
|
|
|
<dependencies>
|
2021-07-17 18:36:04 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>ap</artifactId>
|
2021-11-24 15:14:27 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2021-07-17 18:36:04 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-11-20 21:34:30 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
2021-11-21 18:36:42 +00:00
|
|
|
<artifactId>geyser-api</artifactId>
|
2021-11-24 15:14:27 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2021-11-20 21:34:30 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-07-08 22:28:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>common</artifactId>
|
2021-11-24 15:14:27 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2019-07-08 22:28:22 +00:00
|
|
|
<scope>compile</scope>
|
2019-07-08 17:55:14 +00:00
|
|
|
</dependency>
|
2021-06-06 14:12:49 +00:00
|
|
|
<!-- Jackson JSON and YAML serialization -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-02-25 01:46:34 +00:00
|
|
|
<dependency>
|
2021-06-06 14:12:49 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
2019-07-08 22:28:22 +00:00
|
|
|
<scope>compile</scope>
|
2019-07-08 17:55:14 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2019-07-08 19:13:31 +00:00
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-yaml</artifactId>
|
2021-06-06 14:12:49 +00:00
|
|
|
<version>${jackson.version}</version>
|
2019-09-21 15:14:46 +00:00
|
|
|
<scope>compile</scope>
|
2019-07-08 17:55:14 +00:00
|
|
|
</dependency>
|
2021-02-12 21:22:45 +00:00
|
|
|
<dependency>
|
2021-08-20 09:39:05 +00:00
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>29.0-jre</version>
|
2020-12-09 16:30:59 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-08-20 09:39:05 +00:00
|
|
|
<!-- fastutil maps -->
|
2021-08-12 00:16:10 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx</groupId>
|
|
|
|
<artifactId>nbt</artifactId>
|
|
|
|
<!-- Used for key/value interning -->
|
|
|
|
<version>2.1.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-07-08 19:13:31 +00:00
|
|
|
<dependency>
|
2020-03-18 21:10:28 +00:00
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-int-int-maps</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${fastutil.version}</version>
|
2020-03-18 21:10:28 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-long-long-maps</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${fastutil.version}</version>
|
2019-07-23 23:44:30 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-06-19 01:44:50 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-int-byte-maps</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${fastutil.version}</version>
|
2020-06-19 01:44:50 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-03-21 20:14:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-int-boolean-maps</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${fastutil.version}</version>
|
2020-03-21 20:14:09 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-03-22 22:59:34 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-object-int-maps</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${fastutil.version}</version>
|
2020-03-22 22:59:34 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-08-08 22:41:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-object-object-maps</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${fastutil.version}</version>
|
2020-08-08 22:41:12 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-08-20 09:39:05 +00:00
|
|
|
<!-- Network libraries -->
|
2020-04-23 06:01:33 +00:00
|
|
|
<dependency>
|
2021-08-20 09:39:05 +00:00
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
|
|
|
<version>1.5.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.CloudburstMC.Protocol</groupId>
|
2021-11-20 19:41:29 +00:00
|
|
|
<artifactId>bedrock-v475</artifactId>
|
|
|
|
<version>c22aa595</version>
|
2021-08-20 09:39:05 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.nukkitx.network</groupId>
|
|
|
|
<artifactId>raknet</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.nukkitx</groupId>
|
|
|
|
<artifactId>nbt</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.network</groupId>
|
|
|
|
<artifactId>raknet</artifactId>
|
2021-12-02 03:47:33 +00:00
|
|
|
<version>1.6.28-20211202.034102-5</version>
|
2020-04-23 06:01:33 +00:00
|
|
|
<scope>compile</scope>
|
2021-08-20 09:39:05 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2020-04-23 06:01:33 +00:00
|
|
|
</dependency>
|
2021-06-08 01:23:46 +00:00
|
|
|
<dependency>
|
2021-09-23 21:53:57 +00:00
|
|
|
<groupId>com.github.RednedEpic</groupId>
|
2021-06-08 01:23:46 +00:00
|
|
|
<artifactId>MCAuthLib</artifactId>
|
2021-09-08 14:13:46 +00:00
|
|
|
<version>6c99331</version>
|
2021-06-08 01:23:46 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-07-08 22:28:22 +00:00
|
|
|
<dependency>
|
2021-11-24 15:26:40 +00:00
|
|
|
<groupId>com.github.GeyserMC</groupId>
|
|
|
|
<artifactId>MCProtocolLib</artifactId>
|
2021-12-11 21:05:12 +00:00
|
|
|
<version>c247b1f</version>
|
2019-07-08 22:28:22 +00:00
|
|
|
<scope>compile</scope>
|
2019-11-28 23:27:43 +00:00
|
|
|
<exclusions>
|
2020-12-24 01:47:29 +00:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.github.steveice10</groupId>
|
|
|
|
<artifactId>packetlib</artifactId>
|
|
|
|
</exclusion>
|
2021-01-11 20:52:02 +00:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.github.steveice10</groupId>
|
|
|
|
<artifactId>mcauthlib</artifactId>
|
|
|
|
</exclusion>
|
2020-12-24 01:47:29 +00:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-11-12 16:25:15 +00:00
|
|
|
<groupId>com.github.steveice10</groupId>
|
|
|
|
<artifactId>packetlib</artifactId>
|
|
|
|
<version>2.1-SNAPSHOT</version>
|
2020-12-24 01:47:29 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
2021-07-31 16:52:49 +00:00
|
|
|
<exclusion>
|
2020-12-24 01:47:29 +00:00
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
</exclusion>
|
2021-11-12 16:25:15 +00:00
|
|
|
<exclusion>
|
|
|
|
<!-- This is still experimental - additionally, it could only really benefit standalone -->
|
|
|
|
<groupId>io.netty.incubator</groupId>
|
|
|
|
<artifactId>netty-incubator-transport-native-io_uring</artifactId>
|
|
|
|
</exclusion>
|
2019-11-28 23:27:43 +00:00
|
|
|
</exclusions>
|
2019-07-08 22:28:22 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-06-02 02:19:16 +00:00
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-resolver-dns</artifactId>
|
2021-02-17 23:00:53 +00:00
|
|
|
<version>${netty.version}</version>
|
2019-07-08 22:28:22 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-02-17 23:00:53 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<classifier>osx-x86_64</classifier>
|
|
|
|
</dependency>
|
2020-12-24 05:31:23 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
2021-02-17 23:00:53 +00:00
|
|
|
<version>${netty.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Network dependencies we are updating ourselves -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<classifier>linux-x86_64</classifier>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<classifier>linux-aarch_64</classifier>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
2020-12-24 05:31:23 +00:00
|
|
|
<scope>compile</scope>
|
2021-02-17 23:00:53 +00:00
|
|
|
<classifier>osx-x86_64</classifier>
|
2020-12-24 05:31:23 +00:00
|
|
|
</dependency>
|
2021-06-08 01:23:46 +00:00
|
|
|
<!-- Adventure text serialization -->
|
2021-10-29 14:59:59 +00:00
|
|
|
<dependency>
|
2021-10-29 15:18:32 +00:00
|
|
|
<groupId>net.kyori</groupId>
|
2020-07-06 22:36:04 +00:00
|
|
|
<artifactId>adventure-text-serializer-legacy</artifactId>
|
2021-02-28 16:07:26 +00:00
|
|
|
<version>${adventure.version}</version>
|
2020-12-15 16:24:02 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-11-15 01:15:25 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-text-serializer-plain</artifactId>
|
|
|
|
<version>${adventure.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-08-20 09:39:05 +00:00
|
|
|
<!-- Other -->
|
2020-11-16 23:57:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.13.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-07-08 17:55:14 +00:00
|
|
|
</dependencies>
|
2020-05-04 19:17:25 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2021-07-22 13:31:54 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/services/javax.annotation.processing.Processor</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-05-04 19:17:25 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<version>4.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>get-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
|
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
|
|
|
|
<format>properties</format>
|
|
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
|
|
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
|
|
|
|
<runOnlyOnce>false</runOnlyOnce>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<skipPoms>false</skipPoms>
|
|
|
|
<excludeProperties>
|
|
|
|
<excludeProperty>git.user.*</excludeProperty>
|
2020-06-27 15:36:48 +00:00
|
|
|
<excludeProperty>git.*.user.*</excludeProperty>
|
|
|
|
<excludeProperty>git.closest.*</excludeProperty>
|
|
|
|
<excludeProperty>git.commit.id.describe</excludeProperty>
|
|
|
|
<excludeProperty>git.commit.id.describe-short</excludeProperty>
|
|
|
|
<excludeProperty>git.commit.message.short</excludeProperty>
|
2020-05-04 19:17:25 +00:00
|
|
|
</excludeProperties>
|
|
|
|
<commitIdGenerationMode>flat</commitIdGenerationMode>
|
|
|
|
<gitDescribe>
|
|
|
|
<always>true</always>
|
|
|
|
</gitDescribe>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
|
<artifactId>replacer</artifactId>
|
|
|
|
<version>1.5.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-version</id>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
2021-11-24 15:14:27 +00:00
|
|
|
<include>${project.basedir}/src/main/java/org/geysermc/geyser/GeyserImpl.java</include>
|
2020-05-04 19:17:25 +00:00
|
|
|
</includes>
|
|
|
|
<replacements>
|
|
|
|
<replacement>
|
2020-12-09 20:14:12 +00:00
|
|
|
<token>String VERSION = ".*"</token>
|
|
|
|
<value>String VERSION = "${project.version} (" + GIT_VERSION + ")"</value>
|
|
|
|
</replacement>
|
|
|
|
<replacement>
|
|
|
|
<token>String GIT_VERSION = ".*"</token>
|
2021-05-24 02:32:42 +00:00
|
|
|
<!--suppress UnresolvedMavenProperty -->
|
2020-12-09 20:14:12 +00:00
|
|
|
<value>String GIT_VERSION = "git-${git.branch}-${git.commit.id.abbrev}"</value>
|
2020-05-04 19:17:25 +00:00
|
|
|
</replacement>
|
|
|
|
</replacements>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>remove-version</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
2021-11-24 15:14:27 +00:00
|
|
|
<include>${project.basedir}/src/main/java/org/geysermc/geyser/GeyserImpl.java</include>
|
2020-05-04 19:17:25 +00:00
|
|
|
</includes>
|
|
|
|
<replacements>
|
|
|
|
<replacement>
|
2020-12-09 20:14:12 +00:00
|
|
|
<token>String VERSION = ".*"</token>
|
|
|
|
<value>String VERSION = "DEV"</value>
|
|
|
|
</replacement>
|
|
|
|
<replacement>
|
|
|
|
<token>String GIT_VERSION = ".*"</token>
|
|
|
|
<value>String GIT_VERSION = "DEV"</value>
|
2020-05-04 19:17:25 +00:00
|
|
|
</replacement>
|
|
|
|
</replacements>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-11-16 23:57:57 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.22.0</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- Force the right file encoding during unit testing -->
|
|
|
|
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-05-04 19:17:25 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-11-27 15:58:57 +00:00
|
|
|
</project>
|