|
|
<?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">
|
|
|
<artifactId>UltiTools-API</artifactId>
|
|
|
<groupId>com.ultikits</groupId>
|
|
|
<version>6.1.1</version>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<name>UltiTools-API</name>
|
|
|
<description>This project is the base of the Ultitools plugin development.</description>
|
|
|
<url>https://dev.ultikits.com/</url>
|
|
|
|
|
|
<licenses>
|
|
|
<license>
|
|
|
<name>MIT License</name>
|
|
|
<url>https://raw.githubusercontent.com/UltiKits/UltiTools-Reborn/main/LICENSE</url>
|
|
|
<distribution>repo</distribution>
|
|
|
</license>
|
|
|
</licenses>
|
|
|
|
|
|
<scm>
|
|
|
<connection>scm:git@github.com:UltiKits/UltiTools-Reborn.git</connection>
|
|
|
<developerConnection>scm:git@github.com:UltiKits/UltiTools-Reborn.git</developerConnection>
|
|
|
<url>https://github.com/UltiKits/UltiTools-Reborn</url>
|
|
|
</scm>
|
|
|
|
|
|
<developers>
|
|
|
<developer>
|
|
|
<name>wisdomme</name>
|
|
|
<email>xia.erich03@gmail.com</email>
|
|
|
<organization>UltiKits</organization>
|
|
|
<timezone>+10</timezone>
|
|
|
</developer>
|
|
|
</developers>
|
|
|
|
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<gui.version>4.3.0</gui.version>
|
|
|
<hutool.version>5.8.25</hutool.version>
|
|
|
</properties>
|
|
|
|
|
|
<distributionManagement>
|
|
|
<snapshotRepository>
|
|
|
<id>ultikits-sonatype</id>
|
|
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
</snapshotRepository>
|
|
|
<repository>
|
|
|
<id>ultikits-sonatype</id>
|
|
|
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
</repository>
|
|
|
</distributionManagement>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok-maven-plugin</artifactId>
|
|
|
<version>1.18.20.0</version>
|
|
|
<configuration>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<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-source-plugin</artifactId>-->
|
|
|
<!-- <version>2.2.1</version>-->
|
|
|
<!-- <executions>-->
|
|
|
<!-- <execution>-->
|
|
|
<!-- <phase>package</phase>-->
|
|
|
<!-- <goals>-->
|
|
|
<!-- <goal>jar</goal>-->
|
|
|
<!-- </goals>-->
|
|
|
<!-- </execution>-->
|
|
|
<!-- </executions>-->
|
|
|
<!-- </plugin>-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
<configuration>
|
|
|
<archive>
|
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
|
<!-- 清单文件 -->
|
|
|
<!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
|
|
|
<manifest>
|
|
|
<mainClass>com.ultikits.ultitools.UltiTools</mainClass>
|
|
|
<addClasspath>true</addClasspath>
|
|
|
<classpathPrefix>UltiTools/lib/</classpathPrefix>
|
|
|
</manifest>
|
|
|
</archive>
|
|
|
<!-- 指定需要把哪些文件打入到jar包中, -->
|
|
|
<!-- ** 代表jar包根目录 -->
|
|
|
<!-- **/com/ 代表jar包根目录下仅包含com目录(我所有的程序都在com包下), 当然打好之后还会包含生成的manifest目录 -->
|
|
|
<!-- 注意com后面的/一定不要省去,不然maven会认为这是一个文件名 -->
|
|
|
<!-- includes或者excludes一定要指定,不然会把target下所有的文件都打进去 -->
|
|
|
<includes>
|
|
|
<!-- <include>**/com/ultikits/</include>-->
|
|
|
<include>**/</include>
|
|
|
</includes>
|
|
|
<excludes>
|
|
|
<exclude>**/mappings/</exclude>
|
|
|
</excludes>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!-- 拷贝依赖的jar包到lib目录 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>copy</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>copy-dependencies</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<!-- 拷贝依赖的jar包到lib目录 -->
|
|
|
<outputDirectory>
|
|
|
${project.build.directory}/UltiTools/lib
|
|
|
</outputDirectory>
|
|
|
<excludeScope>provided</excludeScope>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<!-- 解决资源文件的编码问题 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
<configuration>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!-- 打包source文件为jar文件 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
<version>2.2.1</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>attach-sources</id>
|
|
|
<goals>
|
|
|
<goal>jar-no-fork</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
<version>1.6</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>sign-artifacts</id>
|
|
|
<phase>verify</phase>
|
|
|
<goals>
|
|
|
<goal>sign</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
<version>3.6.3</version>
|
|
|
<configuration>
|
|
|
<show>private</show>
|
|
|
<nohelp>true</nohelp>
|
|
|
<charset>UTF-8</charset>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<docencoding>UTF-8</docencoding>
|
|
|
<locale>en_US</locale>
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>jar</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
<version>1.7.0</version>
|
|
|
<extensions>true</extensions>
|
|
|
<configuration>
|
|
|
<serverId>ultikits-sonatype</serverId>
|
|
|
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>com.ultikits</groupId>
|
|
|
<artifactId>ultitools-maven-plugin</artifactId>
|
|
|
<version>1.0.0</version>
|
|
|
<configuration>
|
|
|
<name>UltiTools-API</name>
|
|
|
<identifyString>UltiTools-API</identifyString>
|
|
|
<shortDescription>UltiTools-API</shortDescription>
|
|
|
<accessKeyFile>access_key.txt</accessKeyFile>
|
|
|
<pluginFolder>/home/wisdomme/servers/plugins</pluginFolder>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<filtering>true</filtering>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
</build>
|
|
|
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
<id>ultikits</id>
|
|
|
<url>https://maven.wisdommee.com/repository/ultikits-dev/</url>
|
|
|
</repository>
|
|
|
<repository>
|
|
|
<id>spigotmc-repo</id>
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
|
</repository>
|
|
|
<repository>
|
|
|
<id>sonatype</id>
|
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
|
</repository>
|
|
|
<repository>
|
|
|
<id>placeholderapi</id>
|
|
|
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
|
|
</repository>
|
|
|
<repository>
|
|
|
<id>jitpack.io</id>
|
|
|
<url>https://jitpack.io</url>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
<version>1.19.3-R0.1-SNAPSHOT</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.18.32</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
|
<artifactId>VaultAPI</artifactId>
|
|
|
<version>1.7.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.83</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-crypto</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-db</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-json</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-cache</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-cron</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-http</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/com.mysql/mysql-connector-j -->
|
|
|
<dependency>
|
|
|
<groupId>com.mysql</groupId>
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
<version>8.3.0</version>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/io.socket/socket.io-client -->
|
|
|
<dependency>
|
|
|
<groupId>io.socket</groupId>
|
|
|
<artifactId>socket.io-client</artifactId>
|
|
|
<version>2.1.0</version>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
|
|
|
<dependency>
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
<version>4.12.0</version>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/org.json/json -->
|
|
|
<dependency>
|
|
|
<groupId>org.json</groupId>
|
|
|
<artifactId>json</artifactId>
|
|
|
<version>20231013</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>net.kyori</groupId>
|
|
|
<artifactId>adventure-platform-bukkit</artifactId>
|
|
|
<version>4.3.2</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.hamza-cskn</groupId>
|
|
|
<artifactId>obliviate-invs</artifactId>
|
|
|
<version>${gui.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
<version>6.1.3</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>me.clip</groupId>
|
|
|
<artifactId>placeholderapi</artifactId>
|
|
|
<version>2.11.4</version>
|
|
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/com.zaxxer/HikariCP -->
|
|
|
<dependency>
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
<version>5.1.0</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
</project>
|