mirror of
https://github.com/WaterdogPE/WaterdogPE
synced 2025-04-26 06:50:18 +00:00
314 lines
12 KiB
XML
314 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>
|
|
|
|
<description>Brand new Minecraft: Bedrock Edition proxy created by authors of well-known Waterdog proxy
|
|
</description>
|
|
<groupId>dev.waterdog.waterdogpe</groupId>
|
|
<artifactId>waterdog</artifactId>
|
|
<version>2.0.1</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.release>17</maven.compiler.release>
|
|
<raklib.version>1.0.0.CR1-SNAPSHOT</raklib.version>
|
|
<protocol.version>3.0.0.Beta1-SNAPSHOT</protocol.version>
|
|
<log4j2.version>2.17.1</log4j2.version>
|
|
<jline.version>3.23.0</jline.version>
|
|
<netty.version>4.1.89.Final</netty.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>nukkitx-repo-release</id>
|
|
<url>https://repo.opencollab.dev/maven-releases/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>nukkitx-repo-snapshot</id>
|
|
<url>https://repo.opencollab.dev/maven-snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>waterdogpe-repo-main</id>
|
|
<url>https://repo.waterdog.dev/main</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>waterdog-releases</id>
|
|
<url>https://repo.waterdog.dev/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>waterdog-snapshots</id>
|
|
<url>https://repo.waterdog.dev/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.bugsnag</groupId>
|
|
<version>[3.0,4.0)</version>
|
|
<artifactId>bugsnag</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bstats</groupId>
|
|
<artifactId>bstats-base</artifactId>
|
|
<version>3.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.cubespace</groupId>
|
|
<artifactId>Yamler-Core</artifactId>
|
|
<version>2.4.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>1.31</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.10.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>it.unimi.dsi</groupId>
|
|
<artifactId>fastutil</artifactId>
|
|
<version>8.5.12</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.26</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.12.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${log4j2.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j2.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.lmax</groupId>
|
|
<artifactId>disruptor</artifactId>
|
|
<version>3.4.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jline</groupId>
|
|
<artifactId>jline</artifactId>
|
|
<version>2.14.6</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal</artifactId>
|
|
<version>${jline.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal-jna</artifactId>
|
|
<version>${jline.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-reader</artifactId>
|
|
<version>${jline.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.minecrell</groupId>
|
|
<artifactId>terminalconsoleappender</artifactId>
|
|
<version>1.3.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-reader</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal-jna</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.cloudburstmc.protocol</groupId>
|
|
<artifactId>bedrock-codec</artifactId>
|
|
<version>${protocol.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-buffer</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.cloudburstmc.protocol</groupId>
|
|
<artifactId>bedrock-connection</artifactId>
|
|
<version>${protocol.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.cloudburstmc.netty</groupId>
|
|
<artifactId>netty-transport-raknet</artifactId>
|
|
<version>${raklib.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
<version>${netty.version}</version>
|
|
<classifier>linux-x86_64</classifier>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-transport-native-kqueue</artifactId>
|
|
<version>${netty.version}</version>
|
|
<classifier>osx-x86_64</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nimbusds</groupId>
|
|
<artifactId>nimbus-jose-jwt</artifactId>
|
|
<version>9.10.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
<Main-Class>dev.waterdog.waterdogpe.WaterdogPE</Main-Class>
|
|
</manifestEntries>
|
|
</archive>
|
|
<finalName>Waterdog</finalName>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.edwgiz</groupId>
|
|
<artifactId>maven-shade-plugin.log4j2-cachefile-transformer</artifactId>
|
|
<version>2.8.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>org.bstats</pattern>
|
|
<!-- Replace this with your package! -->
|
|
<shadedPattern>dev.waterdog</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<transformers>
|
|
<transformer
|
|
implementation="com.github.edwgiz.mavenShadePlugin.log4j2CacheTransformer.PluginsCacheFileTransformer">
|
|
</transformer>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>dev.waterdog.waterdogpe.WaterdogPE</mainClass>
|
|
<manifestEntries>
|
|
<Multi-Release>true</Multi-Release>
|
|
</manifestEntries>
|
|
</transformer>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
</transformers>
|
|
</configuration>
|
|
</plugin>
|
|
<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>
|
|
<dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
|
|
<verbose>true</verbose>
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
<skipPoms>true</skipPoms>
|
|
<injectAllReactorProjects>false</injectAllReactorProjects>
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
|
|
<runOnlyOnce>true</runOnlyOnce>
|
|
<excludeProperties>
|
|
<excludeProperty>git.user.*</excludeProperty>
|
|
</excludeProperties>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<source>8</source>
|
|
<detectJavaApiLink>false</detectJavaApiLink>
|
|
<doclint>none</doclint>
|
|
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|