2021-07-17 02:13:54 +08:00
|
|
|
<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.coreprotect</groupId>
|
|
|
|
<artifactId>CoreProtect</artifactId>
|
2024-05-14 07:47:50 +08:00
|
|
|
<version>22.4</version>
|
2021-07-17 02:13:54 +08:00
|
|
|
<properties>
|
|
|
|
<project.branch></project.branch>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.1</version>
|
|
|
|
<configuration>
|
2022-02-26 07:53:05 +08:00
|
|
|
<source>11</source>
|
|
|
|
<target>11</target>
|
2021-07-17 02:13:54 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2024-06-18 05:00:20 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<paperweight-mappings-namespace>mojang</paperweight-mappings-namespace>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-07-17 02:13:54 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.2.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*:*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
<exclude>**/*.c</exclude>
|
|
|
|
<exclude>META-INF/maven/**</exclude>
|
|
|
|
<exclude>META-INF/services/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
2022-12-22 10:56:32 +08:00
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>com.google.code.gson:*</exclude>
|
|
|
|
<exclude>org.intellij:*</exclude>
|
|
|
|
<exclude>org.jetbrains:*</exclude>
|
|
|
|
<exclude>org.slf4j:*</exclude>
|
2024-07-10 08:02:49 +08:00
|
|
|
<exclude>org.apache.logging.log4j:*</exclude>
|
|
|
|
<exclude>net.java.dev.jna:*</exclude>
|
2022-12-22 10:56:32 +08:00
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2021-07-17 02:13:54 +08:00
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.bstats</pattern>
|
|
|
|
<shadedPattern>net.coreprotect</shadedPattern>
|
|
|
|
</relocation>
|
2021-11-16 08:57:33 +08:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.zaxxer</pattern>
|
|
|
|
<shadedPattern>net.coreprotect</shadedPattern>
|
|
|
|
</relocation>
|
2021-07-17 02:13:54 +08:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>paper-repo</id>
|
2023-03-24 09:45:44 +08:00
|
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
2021-07-17 02:13:54 +08:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>codemc-repo</id>
|
|
|
|
<url>https://repo.codemc.org/repository/maven-public/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2024-05-13 01:43:36 +08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.intellectualsites.bom</groupId>
|
|
|
|
<artifactId>bom-newest</artifactId> <!-- Ref: https://github.com/IntellectualSites/bom -->
|
2024-06-18 08:31:33 +08:00
|
|
|
<version>1.45</version>
|
2024-05-13 01:43:36 +08:00
|
|
|
<scope>import</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2021-07-17 02:13:54 +08:00
|
|
|
<dependencies>
|
2021-08-07 08:40:21 +08:00
|
|
|
<!--
|
2023-08-01 08:39:57 +08:00
|
|
|
paper-api: io.papermc.paper
|
2021-08-02 06:36:17 +08:00
|
|
|
paper-api (<= 1.16): com.destroystokyo.paper
|
|
|
|
spigot-api: org.spigotmc
|
2021-08-07 08:40:21 +08:00
|
|
|
bukkit: org.bukkit
|
2021-08-02 06:36:17 +08:00
|
|
|
-->
|
2021-07-17 02:13:54 +08:00
|
|
|
<dependency>
|
2023-09-26 04:36:37 +08:00
|
|
|
<groupId>io.papermc.paper</groupId>
|
|
|
|
<artifactId>paper-api</artifactId>
|
2024-11-06 02:56:57 +08:00
|
|
|
<version>1.21.1-R0.1-SNAPSHOT</version>
|
2021-07-17 02:13:54 +08:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bstats</groupId>
|
|
|
|
<artifactId>bstats-bukkit-lite</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2024-05-13 01:43:36 +08:00
|
|
|
<groupId>com.fastasyncworldedit</groupId>
|
|
|
|
<artifactId>FastAsyncWorldEdit-Core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fastasyncworldedit</groupId>
|
|
|
|
<artifactId>FastAsyncWorldEdit-Bukkit</artifactId>
|
2021-07-17 02:13:54 +08:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
2024-05-13 01:43:36 +08:00
|
|
|
<artifactId>FastAsyncWorldEdit-Core</artifactId>
|
|
|
|
<groupId>*</groupId>
|
2021-07-17 02:13:54 +08:00
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2021-11-16 08:57:33 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
2023-05-22 05:42:28 +08:00
|
|
|
<version>5.0.1</version>
|
2021-11-16 08:57:33 +08:00
|
|
|
</dependency>
|
2024-07-10 08:02:49 +08:00
|
|
|
<dependency>
|
2024-08-16 09:04:31 +08:00
|
|
|
<groupId>com.github.oshi</groupId>
|
|
|
|
<artifactId>oshi-core</artifactId>
|
|
|
|
<version>6.6.2</version>
|
2024-07-10 08:02:49 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>2.23.1</version>
|
|
|
|
</dependency>
|
2021-07-17 02:13:54 +08:00
|
|
|
</dependencies>
|
2021-08-07 08:40:21 +08:00
|
|
|
</project>
|