mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 19:34:58 -05:00
64d58248d6
* Update dependencies * Use static imports for Assertions * Change commit hash from jitpack
268 lines
9.5 KiB
XML
268 lines
9.5 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>
|
|
|
|
<groupId>com.github.steveice10</groupId>
|
|
<artifactId>mcprotocollib</artifactId>
|
|
<version>1.20.2-1-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>MCProtocolLib</name>
|
|
<description>MCProtocolLib is a simple library for communicating with Minecraft clients and servers.</description>
|
|
<url>https://github.com/GeyserMC/MCProtocolLib/</url>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:GeyserMC/MCProtocolLib.git</connection>
|
|
<developerConnection>scm:git:git@github.com:GeyserMC/MCProtocolLib.git</developerConnection>
|
|
<url>git@github.com:GeyserMC/MCProtocolLib/</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<adventure.version>4.14.0</adventure.version>
|
|
</properties>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT</name>
|
|
<url>https://opensource.org/license/mit/</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>steveice10</id>
|
|
<name>Steveice10</name>
|
|
<email>Steveice10@gmail.com</email>
|
|
</developer>
|
|
<developer>
|
|
<id>GeyserMC</id>
|
|
<name>GeyserMC</name>
|
|
<url>https://geysermc.org/</url>
|
|
<organization>GeyserMC</organization>
|
|
<organizationUrl>https://github.com/GeyserMC</organizationUrl>
|
|
</developer>
|
|
</developers>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/GeyserMC/MCProtocolLib/issues</url>
|
|
</issueManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>opencollab-release-repo</id>
|
|
<url>https://repo.opencollab.dev/maven-releases/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>opencollab-snapshot-repo</id>
|
|
<url>https://repo.opencollab.dev/maven-snapshots/</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!-- Minecraft related libraries -->
|
|
<dependency>
|
|
<groupId>com.github.steveice10</groupId>
|
|
<artifactId>opennbt</artifactId>
|
|
<version>1.6</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.GeyserMC</groupId>
|
|
<artifactId>mcauthlib</artifactId>
|
|
<version>6621fd081c</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Kyori adventure -->
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-gson</artifactId>
|
|
<version>${adventure.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-text-serializer-gson-legacy-impl</artifactId>
|
|
<version>${adventure.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Lombok and annotations -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.30</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-annotations</artifactId>
|
|
<version>4.7.3</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Math utilities -->
|
|
<dependency>
|
|
<groupId>org.cloudburstmc.math</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>2.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.cloudburstmc.math</groupId>
|
|
<artifactId>immutable</artifactId>
|
|
<version>2.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Stripped down fastutil -->
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-object-int-maps</artifactId>
|
|
<version>8.5.3</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nukkitx.fastutil</groupId>
|
|
<artifactId>fastutil-int-object-maps</artifactId>
|
|
<version>8.5.3</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- Netty -->
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
<version>4.1.99.Final</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-codec-haproxy</artifactId>
|
|
<version>4.1.99.Final</version>
|
|
<scope>compile</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty.incubator</groupId>
|
|
<artifactId>netty-incubator-transport-native-io_uring</artifactId>
|
|
<version>0.0.23.Final</version>
|
|
<classifier>linux-x86_64</classifier>
|
|
</dependency>
|
|
<!-- Test dependencies -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<defaultGoal>clean install</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>aggregate</goal>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<show>public</show>
|
|
<failOnError>false</failOnError>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>deploy</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>opencollab-release-repo</id>
|
|
<url>https://repo.opencollab.dev/maven-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>opencollab-snapshot-repo</id>
|
|
<url>https://repo.opencollab.dev/maven-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|