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>
|
2020-11-17 17:03:12 +00:00
|
|
|
<version>1.2.0-SNAPSHOT</version>
|
2019-07-08 17:55:14 +00:00
|
|
|
</parent>
|
|
|
|
<artifactId>connector</artifactId>
|
2020-11-17 17:03:12 +00:00
|
|
|
|
2019-07-08 17:55:14 +00:00
|
|
|
<dependencies>
|
2019-07-08 22:28:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>common</artifactId>
|
2020-11-17 17:03:12 +00:00
|
|
|
<version>1.2.0-SNAPSHOT</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>
|
|
|
|
<version>2.9.8</version>
|
2019-09-21 15:14:46 +00:00
|
|
|
<scope>compile</scope>
|
2019-07-08 19:13:31 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
<version>2.9.8</version>
|
2019-09-21 15:14:46 +00:00
|
|
|
<scope>compile</scope>
|
2019-07-08 17:55:14 +00:00
|
|
|
</dependency>
|
2019-07-23 23:44:30 +00:00
|
|
|
<dependency>
|
2020-09-16 04:11:56 +00:00
|
|
|
<groupId>com.github.CloudburstMC.Protocol</groupId>
|
2020-12-09 16:30:59 +00:00
|
|
|
<artifactId>bedrock-v422</artifactId>
|
|
|
|
<version>87d862d69d</version>
|
2019-07-23 23:44:30 +00:00
|
|
|
<scope>compile</scope>
|
2020-03-18 21:10:28 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>net.sf.trove4j</groupId>
|
|
|
|
<artifactId>trove</artifactId>
|
|
|
|
</exclusion>
|
2020-12-09 16:30:59 +00:00
|
|
|
<!-- Stay on the older version of Network while it's rewritten -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.nukkitx.network</groupId>
|
|
|
|
<artifactId>raknet</artifactId>
|
|
|
|
</exclusion>
|
2020-03-18 21:10:28 +00:00
|
|
|
</exclusions>
|
2019-07-23 23:44:30 +00:00
|
|
|
</dependency>
|
2020-12-09 16:30:59 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.network</groupId>
|
|
|
|
<artifactId>raknet</artifactId>
|
|
|
|
<version>1.6.20</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>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-int-float-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-long-long-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
2019-07-23 23:44:30 +00:00
|
|
|
<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-object-long-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
2019-07-08 19:13:31 +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>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-03-21 20:14:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-int-double-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-int-boolean-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-03-22 22:59:34 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-object-int-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-03-26 22:34:54 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-object-byte-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-08-08 22:41:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
|
|
<artifactId>fastutil-object-object-maps</artifactId>
|
|
|
|
<version>8.3.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-04-23 06:01:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>29.0-jre</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2019-07-08 22:28:22 +00:00
|
|
|
<dependency>
|
2020-11-09 19:26:29 +00:00
|
|
|
<groupId>com.github.steveice10</groupId>
|
2020-08-28 19:16:35 +00:00
|
|
|
<artifactId>mcprotocollib</artifactId>
|
2020-11-27 23:28:08 +00:00
|
|
|
<version>26201a4</version>
|
2019-07-08 22:28:22 +00:00
|
|
|
<scope>compile</scope>
|
2019-11-28 23:27:43 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
</exclusion>
|
2020-11-27 23:28:08 +00:00
|
|
|
<exclusion>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-text-serializer-gson</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>
|
|
|
|
<version>4.1.43.Final</version>
|
2019-07-08 22:28:22 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-03-24 04:03:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
2020-08-28 18:36:24 +00:00
|
|
|
<version>0.9.11</version> <!-- This isn't the latest version to get round https://github.com/ronmamo/reflections/issues/273 -->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>2.1.3</version>
|
2020-03-24 04:03:33 +00:00
|
|
|
</dependency>
|
2020-04-23 06:26:54 +00:00
|
|
|
<dependency>
|
2020-11-27 23:28:08 +00:00
|
|
|
<groupId>net.kyori</groupId>
|
2020-07-06 22:36:04 +00:00
|
|
|
<artifactId>adventure-api</artifactId>
|
2020-12-15 16:24:02 +00:00
|
|
|
<version>4.3.0</version>
|
2020-04-23 06:26:54 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-11-27 23:28:08 +00:00
|
|
|
<groupId>net.kyori</groupId>
|
2020-07-06 22:36:04 +00:00
|
|
|
<artifactId>adventure-text-serializer-gson</artifactId>
|
2020-12-15 16:24:02 +00:00
|
|
|
<version>4.3.0</version>
|
2020-04-23 06:26:54 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-11-27 23:28:08 +00:00
|
|
|
<groupId>net.kyori</groupId>
|
2020-07-06 22:36:04 +00:00
|
|
|
<artifactId>adventure-text-serializer-legacy</artifactId>
|
2020-12-15 16:24:02 +00:00
|
|
|
<version>4.3.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-text-serializer-gson-legacy-impl</artifactId>
|
|
|
|
<version>4.3.0</version>
|
2020-04-23 06:26:54 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
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>
|
|
|
|
<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>
|
|
|
|
<include>${project.basedir}/src/main/java/org/geysermc/connector/GeyserConnector.java</include>
|
|
|
|
</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>
|
|
|
|
<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>
|
|
|
|
<include>${project.basedir}/src/main/java/org/geysermc/connector/GeyserConnector.java</include>
|
|
|
|
</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-08-28 18:36:24 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmavenplus</groupId>
|
|
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
|
|
|
<version>1.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<scripts>
|
|
|
|
<script><![CDATA[
|
|
|
|
new org.reflections.Reflections("org.geysermc.connector.network.translators")
|
|
|
|
.save("${project.artifactId}/target/classes/META-INF/reflections/org.geysermc.connector.network.translators-reflections.xml")
|
2020-11-20 19:56:39 +00:00
|
|
|
new org.reflections.Reflections("org.geysermc.connector.network.translators.collision.translators")
|
|
|
|
.save("${project.artifactId}/target/classes/META-INF/reflections/org.geysermc.connector.network.translators.collision.translators-reflections.xml")
|
2020-08-28 18:36:24 +00:00
|
|
|
new org.reflections.Reflections("org.geysermc.connector.network.translators.item")
|
|
|
|
.save("${project.artifactId}/target/classes/META-INF/reflections/org.geysermc.connector.network.translators.item-reflections.xml")
|
|
|
|
new org.reflections.Reflections("org.geysermc.connector.network.translators.sound")
|
|
|
|
.save("${project.artifactId}/target/classes/META-INF/reflections/org.geysermc.connector.network.translators.sound-reflections.xml")
|
|
|
|
new org.reflections.Reflections("org.geysermc.connector.network.translators.world.block.entity")
|
|
|
|
.save("${project.artifactId}/target/classes/META-INF/reflections/org.geysermc.connector.network.translators.world.block.entity-reflections.xml")
|
|
|
|
]]></script>
|
|
|
|
</scripts>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>0.9.11</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>2.1.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<version>3.0.5</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</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>
|