2016-09-23 19:49:59 +02: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">
|
|
|
|
<parent>
|
|
|
|
<artifactId>viaversion-parent</artifactId>
|
|
|
|
<groupId>us.myles</groupId>
|
2021-02-04 19:09:56 +01:00
|
|
|
<version>3.3.0-21w05b</version>
|
2016-09-23 19:49:59 +02:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2016-09-25 21:43:32 +02:00
|
|
|
<name>viaversion-jar</name>
|
2016-09-23 19:49:59 +02:00
|
|
|
<artifactId>viaversion</artifactId>
|
|
|
|
|
|
|
|
<build>
|
2016-09-25 21:43:32 +02:00
|
|
|
<finalName>ViaVersion-${project.version}</finalName>
|
2016-09-23 19:49:59 +02:00
|
|
|
<defaultGoal>clean install</defaultGoal>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
2016-09-24 20:12:12 +02:00
|
|
|
<targetPath>.</targetPath>
|
2016-09-23 19:49:59 +02:00
|
|
|
<filtering>false</filtering>
|
2016-09-26 02:44:21 +02:00
|
|
|
<directory>../</directory>
|
2016-09-23 19:49:59 +02:00
|
|
|
<includes>
|
|
|
|
<include>LICENSE</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/main/resources/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
2020-04-16 21:39:28 +02:00
|
|
|
<!-- Write git commit hash into build properties -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.md-5</groupId>
|
|
|
|
<artifactId>scriptus</artifactId>
|
|
|
|
<version>0.3.2</version>
|
|
|
|
<configuration>
|
2020-04-16 21:44:04 +02:00
|
|
|
<format>git-ViaVersion-${project.parent.version}:%s</format>
|
2020-04-16 21:39:28 +02:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>describe</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<!--suppress MavenModelInspection -->
|
|
|
|
<Implementation-Version>${describe}</Implementation-Version>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-09-23 19:49:59 +02:00
|
|
|
<plugin>
|
|
|
|
<!--Relocate all lib we use in order to fix class loading errors if we use different versions
|
|
|
|
than already loaded libs (i.e. by Mojang -> gson)-->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-04-16 21:39:28 +02:00
|
|
|
<version>3.2.2</version>
|
2016-09-23 19:49:59 +02:00
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<minimizeJar>false</minimizeJar>
|
2020-06-08 22:23:24 +02:00
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>it.unimi.dsi:fastutil</artifact>
|
|
|
|
<includes>
|
|
|
|
<!-- We only want int and Object maps -->
|
|
|
|
<include>it/unimi/dsi/fastutil/ints/*</include>
|
|
|
|
<include>it/unimi/dsi/fastutil/objects/*</include>
|
|
|
|
<include>it/unimi/dsi/fastutil/*.class</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<!-- Object types -->
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Reference*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Boolean*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Byte*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Short*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Float*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Double*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Long*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Char*</exclude>
|
|
|
|
<!-- Map types -->
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Custom*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Linked*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Sorted*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Tree*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Heap*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Queue*</exclude>
|
|
|
|
<!-- Crossing fingers -->
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Big*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Synchronized*</exclude>
|
|
|
|
<exclude>it/unimi/dsi/fastutil/*/*Unmodifiable*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
2016-09-23 19:49:59 +02:00
|
|
|
<relocations>
|
2020-06-08 22:23:24 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
|
|
|
<shadedPattern>us.myles.viaversion.libs.fastutil</shadedPattern>
|
|
|
|
</relocation>
|
2016-09-23 19:49:59 +02:00
|
|
|
<relocation>
|
2017-05-14 14:34:51 +02:00
|
|
|
<pattern>com.github.steveice10.opennbt</pattern>
|
2016-09-23 19:49:59 +02:00
|
|
|
<shadedPattern>us.myles.viaversion.libs.opennbt</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.gson</pattern>
|
|
|
|
<shadedPattern>us.myles.viaversion.libs.gson</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
2018-12-13 12:47:41 +01:00
|
|
|
<pattern>javassist</pattern>
|
2016-09-23 19:49:59 +02:00
|
|
|
<shadedPattern>us.myles.viaversion.libs.javassist</shadedPattern>
|
|
|
|
</relocation>
|
2019-04-23 14:03:20 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>net.md_5.bungee</pattern>
|
|
|
|
<shadedPattern>us.myles.viaversion.libs.bungeecordchat</shadedPattern>
|
|
|
|
<includes>
|
|
|
|
<include>net.md_5.bungee.api.chat.**</include>
|
|
|
|
<include>net.md_5.bungee.api.ChatColor</include>
|
|
|
|
<include>net.md_5.bungee.api.ChatMessageType</include>
|
|
|
|
<include>net.md_5.bungee.chat.**</include>
|
|
|
|
</includes>
|
|
|
|
</relocation>
|
2016-09-23 19:49:59 +02:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-common</artifactId>
|
2016-09-26 02:44:21 +02:00
|
|
|
<version>${project.parent.version}</version>
|
2016-09-23 19:49:59 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-bukkit</artifactId>
|
2016-09-26 02:44:21 +02:00
|
|
|
<version>${project.parent.version}</version>
|
2016-09-23 19:49:59 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-bungee</artifactId>
|
2016-09-26 02:44:21 +02:00
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2019-10-27 13:15:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-fabric</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2016-09-26 02:44:21 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-sponge</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
2016-09-23 19:49:59 +02:00
|
|
|
</dependency>
|
2018-09-30 15:30:34 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-velocity</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2016-09-23 19:49:59 +02:00
|
|
|
</dependencies>
|
|
|
|
|
2019-10-30 18:24:22 +01:00
|
|
|
</project>
|