forked from GeyserMC/Geyser
- Relocate all of our dependencies. This does not include MCProtocolLib and Nukkit dependencies at this time as there are no other known plugins that use these dependencies. - Switch to a static commit for Adventure dependencies. Tested working on all versions.
105 lines
4.7 KiB
XML
105 lines
4.7 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>
|
|
<parent>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>bootstrap-parent</artifactId>
|
|
<version>1.1.0</version>
|
|
<relativePath>../</relativePath>
|
|
</parent>
|
|
<artifactId>bootstrap-sponge</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>connector</artifactId>
|
|
<version>1.1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>spongeapi</artifactId>
|
|
<version>7.1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${outputName}-Sponge</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources/</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Main-Class>org.geysermc.platform.sponge.GeyserSpongeMain</Main-Class>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.fasterxml.jackson</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.jackson</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>io.netty</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.netty</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.fastutil</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.reflections</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.reflections</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.google.guava</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.guava</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.dom4j</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.dom4j</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>net.kyori.adventure</pattern>
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.adventure</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>com.google.code.gson:*</exclude>
|
|
<exclude>org.yaml:*</exclude>
|
|
<exclude>org.slf4j:*</exclude>
|
|
<exclude>org.ow2.asm:*</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |