2019-12-21 22:18:34 +00: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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>bootstrap-parent</artifactId>
|
2021-07-13 01:19:40 +00:00
|
|
|
<version>1.4.1-SNAPSHOT</version>
|
2019-12-21 22:18:34 +00:00
|
|
|
</parent>
|
|
|
|
<artifactId>bootstrap-sponge</artifactId>
|
2020-11-17 17:03:12 +00:00
|
|
|
|
2019-12-21 22:18:34 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.geysermc</groupId>
|
|
|
|
<artifactId>connector</artifactId>
|
2021-07-13 01:19:40 +00:00
|
|
|
<version>1.4.1-SNAPSHOT</version>
|
2019-12-21 22:18:34 +00:00
|
|
|
<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>
|
2020-04-30 06:40:45 +00:00
|
|
|
<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>
|
2019-12-21 22:18:34 +00:00
|
|
|
<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>
|
2020-03-10 23:40:22 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>it.unimi.dsi.fastutil</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.fastutil</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-03 03:42:53 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.common</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.google.common</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-02 04:38:10 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.guava</pattern>
|
2020-09-03 03:42:53 +00:00
|
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.google.guava</shadedPattern>
|
2020-09-02 04:38:10 +00:00
|
|
|
</relocation>
|
|
|
|
<relocation>
|
2021-01-11 19:11:21 +00:00
|
|
|
<pattern>net.kyori</pattern>
|
|
|
|
<shadedPattern>org.geysermc.platform.sponge.shaded.kyori</shadedPattern>
|
2020-09-02 04:38:10 +00:00
|
|
|
</relocation>
|
2019-12-21 22:18:34 +00:00
|
|
|
</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>
|