2022-02-27 14:07:22 +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>
|
|
|
|
|
|
|
|
|
|
<properties>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<project.jdk.version>8</project.jdk.version>
|
|
|
|
|
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
|
|
|
|
|
|
|
<deps.easyplugin.version>1.5.2</deps.easyplugin.version>
|
|
|
|
|
<deps.easysql.version>0.4.6</deps.easysql.version>
|
2023-02-22 12:32:36 +00:00
|
|
|
|
<deps.mineconfig.version>2.4.0</deps.mineconfig.version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<groupId>cc.carm.plugin</groupId>
|
|
|
|
|
<artifactId>timereward</artifactId>
|
2023-02-22 17:41:58 +00:00
|
|
|
|
<version>2.1.0</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
|
|
|
|
|
<name>TimeReward</name>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<description>在线时长自动领奖插件,通过指令发放奖励,基于EasyPlugin实现。</description>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<url>https://github.com/CarmJos/TimeReward</url>
|
|
|
|
|
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<issueManagement>
|
|
|
|
|
<system>GitHub Issues</system>
|
|
|
|
|
<url>https://github.com/CarmJos/TimeReward/issues</url>
|
|
|
|
|
</issueManagement>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
|
|
|
|
|
<ciManagement>
|
|
|
|
|
<system>GitHub Actions</system>
|
|
|
|
|
<url>https://github.com/CarmJos/TimeReward/actions/workflows/maven.yml</url>
|
|
|
|
|
</ciManagement>
|
|
|
|
|
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<developers>
|
|
|
|
|
<developer>
|
|
|
|
|
<id>CarmJos</id>
|
|
|
|
|
<name>Carm Jos</name>
|
|
|
|
|
<email>carm@carm.cc</email>
|
|
|
|
|
<url>https://work.carm.cc</url>
|
|
|
|
|
</developer>
|
|
|
|
|
</developers>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
|
|
|
|
|
<repositories>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<repository>
|
|
|
|
|
<id>carm-repo</id>
|
|
|
|
|
<name>Carm's Repo</name>
|
|
|
|
|
<url>https://repo.carm.cc/repository/maven-public/</url>
|
|
|
|
|
</repository>
|
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<repository>
|
2022-02-27 14:43:51 +00:00
|
|
|
|
<id>github</id>
|
|
|
|
|
<name>GitHub Packages</name>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<url>https://maven.pkg.github.com/CarmJos/${project.name}</url>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<id>maven-central</id>
|
2022-02-27 14:43:51 +00:00
|
|
|
|
<url>https://repo1.maven.org/maven2/</url>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>nexus</id>
|
|
|
|
|
<url>https://mvn.lumine.io/repository/maven-public/</url>
|
|
|
|
|
</repository>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
<downloadUrl>https://github.com/CarmJos/TimeReward/releases</downloadUrl>
|
2022-02-27 14:43:51 +00:00
|
|
|
|
<repository>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<id>github</id>
|
|
|
|
|
<name>GitHub Packages</name>
|
|
|
|
|
<url>https://maven.pkg.github.com/CarmJos/${project.name}</url>
|
2022-02-27 14:43:51 +00:00
|
|
|
|
</repository>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
</distributionManagement>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<artifactId>mineconfiguration-bukkit</artifactId>
|
|
|
|
|
<version>${deps.mineconfig.version}</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
|
|
|
|
<artifactId>easyplugin-main</artifactId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<version>${deps.easyplugin.version}</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<artifactId>easyplugin-command</artifactId>
|
|
|
|
|
<version>${deps.easyplugin.version}</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<scope>compile</scope>
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2023-02-22 12:32:36 +00:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
|
|
|
|
<artifactId>easyplugin-placeholderapi</artifactId>
|
|
|
|
|
<version>${deps.easyplugin.version}</version>
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--suppress VulnerableLibrariesLocal -->
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<artifactId>easyplugin-githubchecker</artifactId>
|
|
|
|
|
<version>${deps.easyplugin.version}</version>
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
|
|
|
|
<artifactId>easysql-beecp</artifactId>
|
|
|
|
|
<version>${deps.easysql.version}</version>
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>de.themoep</groupId>
|
|
|
|
|
<artifactId>minedown</artifactId>
|
|
|
|
|
<version>1.7.1-SNAPSHOT</version>
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bstats</groupId>
|
|
|
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
|
|
|
<version>3.0.0</version>
|
|
|
|
|
<scope>compile</scope>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-28 10:21:23 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>me.clip</groupId>
|
|
|
|
|
<artifactId>placeholderapi</artifactId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<version>2.11.2</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>4.13.2</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
|
<artifactId>annotations</artifactId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<version>24.0.0</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<defaultGoal>clean package</defaultGoal>
|
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<plugins>
|
2022-02-28 11:43:13 +00:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<filesets>
|
|
|
|
|
<fileset>
|
|
|
|
|
<directory>${project.basedir}/asset/</directory>
|
|
|
|
|
<useDefaultExcludes>true</useDefaultExcludes>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</fileset>
|
|
|
|
|
<fileset>
|
|
|
|
|
<directory>${project.basedir}/api-docs/</directory>
|
|
|
|
|
<useDefaultExcludes>true</useDefaultExcludes>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</fileset>
|
|
|
|
|
</filesets>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<version>3.10.0</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<configuration>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<source>${project.jdk.version}</source>
|
|
|
|
|
<target>${project.jdk.version}</target>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
<compilerArgument>-parameters</compilerArgument>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<version>3.2.0</version>
|
|
|
|
|
</plugin>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
<version>3.2.0</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<version>3.2.4</version>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>shade</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<finalName>${project.name}-${project.version}</finalName>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<outputDirectory>${project.basedir}/asset/</outputDirectory>
|
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
|
<filters>
|
|
|
|
|
<filter>
|
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|
|
|
|
<exclude>META-INF/*.txt</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</filter>
|
|
|
|
|
</filters>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<relocations>
|
|
|
|
|
<relocation>
|
|
|
|
|
<pattern>cc.carm.lib</pattern>
|
2022-03-02 12:41:52 +00:00
|
|
|
|
<shadedPattern>cc.carm.plugin.timereward.lib</shadedPattern>
|
2022-03-02 12:41:22 +00:00
|
|
|
|
</relocation>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
<relocation>
|
|
|
|
|
<pattern>de.themoep.minedown</pattern>
|
|
|
|
|
<shadedPattern>cc.carm.plugin.moeteleport.lib.minedown</shadedPattern>
|
|
|
|
|
</relocation>
|
2022-03-02 12:41:22 +00:00
|
|
|
|
<relocation>
|
|
|
|
|
<pattern>org.bstats</pattern>
|
2022-03-02 12:41:52 +00:00
|
|
|
|
<shadedPattern>cc.carm.plugin.timereward.lib.bstats</shadedPattern>
|
2022-03-02 12:41:22 +00:00
|
|
|
|
</relocation>
|
|
|
|
|
<relocation>
|
|
|
|
|
<pattern>org.json</pattern>
|
2022-03-02 12:41:52 +00:00
|
|
|
|
<shadedPattern>cc.carm.plugin.timereward.lib.json</shadedPattern>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
</relocation>
|
|
|
|
|
</relocations>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>2.22.1</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
2022-02-27 14:07:22 +00:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
2023-02-22 11:26:25 +00:00
|
|
|
|
|
2022-02-27 14:07:22 +00:00
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|