198 lines
7.3 KiB
XML
198 lines
7.3 KiB
XML
<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>
|
|
|
|
<groupId>net.knarcraft</groupId>
|
|
<artifactId>Stargate</artifactId>
|
|
<version>0.11.5.7</version>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU Lesser General Public License</name>
|
|
<url>https://www.gnu.org/licenses/lgpl-3.0.en.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>16</java.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
<repository>
|
|
<id>dynmap</id>
|
|
<url>https://repo.mikeprimm.com/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>minebench-repo</id>
|
|
<url>https://repo.minebench.de/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>opencollab-snapshot</id>
|
|
<url>https://repo.opencollab.dev/main/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.20-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
<artifactId>VaultAPI</artifactId>
|
|
<version>1.7</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.seeseemelk</groupId>
|
|
<artifactId>MockBukkit-v1.18</artifactId>
|
|
<version>2.85.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>24.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>us.dynmap</groupId>
|
|
<artifactId>dynmap-api</artifactId>
|
|
<version>3.1-beta-2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.knarcraft</groupId>
|
|
<artifactId>knarlib</artifactId>
|
|
<version>1.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bstats</groupId>
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
<version>3.0.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-platform-bukkit</artifactId>
|
|
<version>4.3.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.themoep</groupId>
|
|
<artifactId>minedown</artifactId>
|
|
<version>1.7.1-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.geysermc.geyser</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>2.2.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.9.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>org.bstats:*</include>
|
|
<include>net.knarcraft:knarlib</include>
|
|
<include>de.themoep:minedown</include>
|
|
</includes>
|
|
</artifactSet>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>org.bstats</pattern>
|
|
<shadedPattern>net.knarcraft.stargate.metrics</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>net.knarcraft</pattern>
|
|
<shadedPattern>net.knarcraft</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>net.kyori</pattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>de.themoep.minedown</pattern>
|
|
<shadedPattern>net.knarcraft.stargate.minedown</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<filters>
|
|
<filter>
|
|
<artifact>net.knarcraft:knarlib</artifact>
|
|
<includes>
|
|
<include>net/knarcraft/knarlib/**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<excludes>
|
|
<exclude>*.MF</exclude>
|
|
<exclude>*.yml</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|