2019-10-24 01:17:37 +02:00
|
|
|
<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>
|
2022-02-20 12:16:11 +01:00
|
|
|
<groupId>com.comphenix.protocol</groupId>
|
2019-10-24 01:17:37 +02:00
|
|
|
<artifactId>ProtocolLib</artifactId>
|
|
|
|
<name>ProtocolLib</name>
|
2022-03-08 04:07:54 +01:00
|
|
|
<version>5.0.0-SNAPSHOT</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
|
|
|
|
<description>Provides read/write access to the Minecraft protocol.</description>
|
2019-12-24 20:23:05 +01:00
|
|
|
<url>https://github.com/dmulloy2/ProtocolLib</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<inceptionYear>2012</inceptionYear>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.build.number></project.build.number>
|
|
|
|
<project.fullVersion>${project.version}</project.fullVersion>
|
|
|
|
|
2022-07-31 02:01:11 +02:00
|
|
|
<junit.version>5.9.0</junit.version>
|
|
|
|
<mockito.version>4.6.1</mockito.version>
|
|
|
|
<netty.version>4.1.77.Final</netty.version>
|
2023-03-23 19:43:22 +01:00
|
|
|
<spigot.version>1.19.4-R0.1-SNAPSHOT</spigot.version>
|
2019-10-24 01:17:37 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<defaultGoal>clean install</defaultGoal>
|
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2022-07-31 02:01:11 +02:00
|
|
|
<version>3.3.0</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
2021-01-04 06:24:34 +01:00
|
|
|
<pattern>net.bytebuddy</pattern>
|
|
|
|
<shadedPattern>com.comphenix.net.bytebuddy</shadedPattern>
|
2019-10-24 01:17:37 +02:00
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
|
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.spigotmc:spigot</exclude>
|
|
|
|
<exclude>org.spigotmc:spigot-api</exclude>
|
|
|
|
<exclude>junit:junit</exclude>
|
|
|
|
<exclude>io.netty:*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2022-07-31 02:01:11 +02:00
|
|
|
<version>3.10.1</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2022-02-20 12:16:11 +01:00
|
|
|
<version>3.2.2</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Main-Class>com.comphenix.protocol.Application</Main-Class>
|
|
|
|
<Implementation-Title>ProtocolLib</Implementation-Title>
|
|
|
|
<Implementation-Version>${project.fullVersion}</Implementation-Version>
|
|
|
|
<Implementation-Vendor>dmulloy2</Implementation-Vendor>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
<finalName>${project.name}</finalName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2022-07-31 02:01:11 +02:00
|
|
|
<version>3.0.0-M7</version>
|
2022-02-20 12:16:11 +01:00
|
|
|
<dependencies>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-10-24 01:17:37 +02:00
|
|
|
<configuration>
|
2021-01-04 06:24:34 +01:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<useFile>false</useFile>
|
2019-10-24 01:17:37 +02:00
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>projectVersion</name>
|
|
|
|
<value>${project.version}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
2022-02-20 12:16:11 +01:00
|
|
|
<!-- We need this as we use reflection in tests to ensure equality -->
|
|
|
|
<argLine>--add-opens java.base/java.util=ALL-UNNAMED</argLine>
|
2019-10-24 01:17:37 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2022-07-31 02:01:11 +02:00
|
|
|
<version>3.4.0</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<configuration>
|
|
|
|
<failOnError>false</failOnError>
|
|
|
|
<encoding>ISO-8859-1</encoding>
|
|
|
|
<doctitle>ProtocolLib JavaDocs</doctitle>
|
|
|
|
<windowtitle>ProtocolLib JavaDocs</windowtitle>
|
|
|
|
<bottom>Copyright © {inceptionYear}–{currentYear}
|
2022-02-20 12:16:11 +01:00
|
|
|
Comphenix and dmulloy2. Licensed under the GNU GPL v2.
|
|
|
|
</bottom>
|
2019-12-05 22:48:56 +01:00
|
|
|
<additionalOptions>
|
|
|
|
<additionalOption>-Xdoclint:none</additionalOption>
|
|
|
|
</additionalOptions>
|
2019-10-24 01:17:37 +02:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>aggregate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jenkins</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>env.BUILD_NUMBER</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<project.build.number>-b${env.BUILD_NUMBER}</project.build.number>
|
2021-07-10 17:09:56 +02:00
|
|
|
<project.fullVersion>${project.version}${project.build.number}</project.fullVersion>
|
|
|
|
<!--<project.fullVersion>${project.version}</project.fullVersion>-->
|
2019-10-24 01:17:37 +02:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>release-sign-artifacts</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>performRelease</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<project.fullVersion>${project.version}</project.fullVersion>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2020-11-09 21:11:48 +01:00
|
|
|
<version>3.2.1</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2022-07-31 02:01:11 +02:00
|
|
|
<version>3.4.0</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- TODO: Look into signing releases
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
-->
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/dmulloy2/ProtocolLib.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:dmulloy2/ProtocolLib.git</developerConnection>
|
|
|
|
<url>https://github.com/dmulloy2/ProtocolLib</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>GNU GENERAL PUBLIC LICENSE - Version 2, June 1991</name>
|
2022-02-20 12:16:11 +01:00
|
|
|
<url>https://www.gnu.org/licenses/gpl-2.0.txt</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>dmulloy2</id>
|
|
|
|
<name>Dan Mulloy</name>
|
2022-02-20 12:16:11 +01:00
|
|
|
<url>https://dmulloy2.net/</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
<roles>
|
|
|
|
<role>developer</role>
|
|
|
|
<role>maintainer</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<id>aadnk</id>
|
|
|
|
<name>Kristian S. Stangeland</name>
|
|
|
|
<email>kr_stang@hotmail.com</email>
|
2022-02-20 12:16:11 +01:00
|
|
|
<url>https://comphenix.net/</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
<roles>
|
|
|
|
<role>former author</role>
|
|
|
|
</roles>
|
|
|
|
<timezone>1</timezone>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>dmulloy2-releases</id>
|
2021-02-27 20:15:01 +01:00
|
|
|
<url>https://repo.dmulloy2.net/repository/releases/</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>dmulloy2-snapshots</id>
|
2021-02-27 20:15:01 +01:00
|
|
|
<url>https://repo.dmulloy2.net/repository/snapshots/</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>dmulloy2-repo</id>
|
2021-02-27 20:15:01 +01:00
|
|
|
<url>https://repo.dmulloy2.net/repository/public/</url>
|
2019-10-24 01:17:37 +02:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
2022-02-20 12:16:11 +01:00
|
|
|
<!-- core minecraft dependencies -->
|
2019-10-24 01:17:37 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<version>${spigot.version}</version>
|
|
|
|
<scope>provided</scope>
|
2022-02-20 12:16:11 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-10-24 01:17:37 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>${spigot.version}</version>
|
|
|
|
<scope>provided</scope>
|
2022-02-20 12:16:11 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
2022-03-08 04:09:04 +01:00
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
2022-02-20 12:16:11 +01:00
|
|
|
</exclusions>
|
2019-10-24 01:17:37 +02:00
|
|
|
</dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
|
|
|
|
<!-- Compile with the old version of Netty for backwards compat -->
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<version>4.0.23.Final</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/net.kyori/adventure-text-serializer-gson -->
|
2021-02-27 20:15:43 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-text-serializer-gson</artifactId>
|
2022-07-26 19:31:58 +02:00
|
|
|
<version>4.11.0</version>
|
2021-02-27 20:15:43 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-01-04 06:24:34 +01:00
|
|
|
<!-- https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy -->
|
2019-10-24 01:17:37 +02:00
|
|
|
<dependency>
|
2021-01-04 06:24:34 +01:00
|
|
|
<groupId>net.bytebuddy</groupId>
|
|
|
|
<artifactId>byte-buddy</artifactId>
|
2022-07-26 19:31:58 +02:00
|
|
|
<version>1.12.12</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Testing dependencies -->
|
2022-02-20 12:16:11 +01:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
|
2019-10-24 01:17:37 +02:00
|
|
|
<dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
|
2019-10-24 01:17:37 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
2022-02-20 12:16:11 +01:00
|
|
|
<version>${mockito.version}</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-inline -->
|
2019-10-24 01:17:37 +02:00
|
|
|
<dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-inline</artifactId>
|
|
|
|
<version>${mockito.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.netty/netty-common -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
<!-- https://mvnrepository.com/artifact/io.netty/netty-transport -->
|
2019-10-24 01:17:37 +02:00
|
|
|
<dependency>
|
2022-02-20 12:16:11 +01:00
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
2019-10-24 01:17:37 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|