You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
172 lines
6.4 KiB
172 lines
6.4 KiB
<?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.0.0-SNAPSHOT</version>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<!--lombok还原插件-->
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok-maven-plugin</artifactId>
|
|
<version>1.18.0.0</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!--函数文件生成插件-->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.4</version>
|
|
<configuration>
|
|
<sourcepath>target/generated-sources/delombok</sourcepath>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</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-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--发布代码Jar插件 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.7</version>
|
|
</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>
|
|
<!-- 发布到本地spigot服务器插件文件夹 -->
|
|
<!-- <plugin>-->
|
|
<!-- <artifactId>exec-maven-plugin</artifactId>-->
|
|
<!-- <groupId>org.codehaus.mojo</groupId>-->
|
|
<!-- <version>1.6.0</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>Version Calculation</id>-->
|
|
<!-- <phase>package</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>exec</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <executable>/bin/bash</executable>-->
|
|
<!-- <arguments>-->
|
|
<!-- <argument>-->
|
|
<!-- ${basedir}/bin/deploy.sh-->
|
|
<!-- </argument>-->
|
|
<!-- <argument>-->
|
|
<!-- ${project.version}-->
|
|
<!-- </argument>-->
|
|
<!-- </arguments>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>ultikits</id>
|
|
<url>https://maven.wisdommee.com/repository/ultikits-dev/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<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>
|
|
</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>com.github.wisdommen</groupId>
|
|
<artifactId>UltiCoreAPI</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.24</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
</project>
|