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>
|
2017-06-09 20:10:56 +02:00
|
|
|
<version>1.1.2-SNAPSHOT</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>
|
|
|
|
<!-- Libs Shading and Relocation -->
|
|
|
|
<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>
|
|
|
|
<version>2.4.3</version>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<relocations>
|
|
|
|
<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>
|
|
|
|
<pattern>org.javassist</pattern>
|
|
|
|
<shadedPattern>us.myles.viaversion.libs.javassist</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>us.myles</groupId>
|
|
|
|
<artifactId>viaversion-sponge</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
2016-09-23 19:49:59 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</project>
|