mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-27 00:05:07 +00:00
204 lines
8.3 KiB
XML
204 lines
8.3 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>
|
|
|
|
<groupId>me.SuperRonanCraft</groupId>
|
|
<artifactId>BetterRTPAddons</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>1.8.10</version>
|
|
|
|
<properties>
|
|
<editor.website>https://www.minecentral.net</editor.website>
|
|
<bettersync.version>2.0.0</bettersync.version>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<build><plugins><plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration><outputDirectory>../../../Java/plugins</outputDirectory></configuration>
|
|
</plugin></plugins></build>
|
|
</profile>
|
|
</profiles>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.2</version>
|
|
<configuration>
|
|
<outputDirectory>${project.basedir}/../dist</outputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Shade PaperLib into project -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
<relocations>
|
|
<relocation><pattern>com.ronanplugins.bettersync</pattern><shadedPattern>me.SuperRonanCraft.BetterRTPAddons.lib.bettersync</shadedPattern></relocation>
|
|
|
|
<relocation>
|
|
<pattern>io.papermc.lib</pattern>
|
|
<shadedPattern>me.SuperRonanCraft.BetterRTPAddons.paperlib</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Remove only Shade's unbundled backup, after the final JAR is ready. -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${project.basedir}/../dist</directory>
|
|
<includes>
|
|
<include>${project.artifactId}-*.jar</include>
|
|
<include>original-${project.artifactId}-*.jar</include>
|
|
</includes>
|
|
<followSymlinks>false</followSymlinks>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>remove-unshaded-backup</id>
|
|
<phase>package</phase>
|
|
<goals><goal>clean</goal></goals>
|
|
<configuration>
|
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
|
<filesets combine.self="override">
|
|
<fileset>
|
|
<directory>${project.basedir}/../dist</directory>
|
|
<includes><include>original-${project.build.finalName}.jar</include></includes>
|
|
<followSymlinks>false</followSymlinks>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>minecodes-repository-releases</id>
|
|
<url>https://repository.minecodes.pl/releases</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<!-- PaperMC Repo -->
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
<!-- ProtocolLib Repo -->
|
|
<repository>
|
|
<id>dmulloy2-repo</id>
|
|
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
|
|
</repository>
|
|
<repository><id>jitpack.io</id><url>https://jitpack.io</url></repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<!-- Download the tagged GitHub library through JitPack; bundled by Shade. -->
|
|
<dependency>
|
|
<groupId>com.github.RonanPlugins</groupId>
|
|
<artifactId>BetterSync</artifactId>
|
|
<version>${bettersync.version}</version>
|
|
</dependency>
|
|
<!--Spigot API-->
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Spigot Stuff -->
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot</artifactId>
|
|
<version>1.8.8-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Paper Library for Async Chunk/Teleport -->
|
|
<dependency>
|
|
<groupId>io.papermc</groupId>
|
|
<artifactId>paperlib</artifactId>
|
|
<version>1.0.8</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- BetterRTP -->
|
|
<dependency>
|
|
<groupId>me.SuperRonanCraft</groupId>
|
|
<artifactId>BetterRTP</artifactId>
|
|
<version>3.6.13</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- ProtocolLib -->
|
|
<dependency>
|
|
<groupId>com.comphenix.protocol</groupId>
|
|
<artifactId>ProtocolLib</artifactId>
|
|
<version>4.5.0</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<!-- ProtocolLib supplies its executor implementation; Addons does not use it.
|
|
Its legacy transitive snapshot is no longer available to fresh builds. -->
|
|
<exclusion>
|
|
<groupId>com.comphenix.executors</groupId>
|
|
<artifactId>BukkitExecutors</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.38</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>19.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|