Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
232 Zeilen
9.3 KiB
XML
232 Zeilen
9.3 KiB
XML
<?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>
|
|
<version>parent</version>
|
|
<relativePath>../</relativePath>
|
|
</parent>
|
|
<artifactId>connector</artifactId>
|
|
<version>1.0.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>1.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-yaml</artifactId>
|
|
<version>2.9.8</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
<version>2.9.8</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nukkitx.protocol</groupId>
|
|
<artifactId>bedrock-v407</artifactId>
|
|
<version>2.6.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>net.sf.trove4j</groupId>
|
|
<artifactId>trove</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<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>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-object-long-maps</artifactId>
|
|
<version>8.3.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-int-byte-maps</artifactId>
|
|
<version>8.3.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<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>
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-object-int-maps</artifactId>
|
|
<version>8.3.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-object-byte-maps</artifactId>
|
|
<version>8.3.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>29.0-jre</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.steveice10</groupId>
|
|
<artifactId>mcprotocollib</artifactId>
|
|
<version>7545884a2d</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-resolver-dns</artifactId>
|
|
<version>4.1.43.Final</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.9.12</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-api</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-gson</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-legacy</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<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>
|
|
<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>
|
|
</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>
|
|
<token>VERSION = ".*"</token>
|
|
<value>VERSION = "${project.version} (git-${git.branch}-${git.commit.id.abbrev})"</value>
|
|
</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>
|
|
<token>VERSION = ".*"</token>
|
|
<value>VERSION = "DEV"</value>
|
|
</replacement>
|
|
</replacements>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|