mirror of
https://github.com/CarmJos/ScriptItems
synced 2024-09-19 21:35:50 +00:00
269 lines
9.4 KiB
XML
269 lines
9.4 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>
|
|||
|
|
|||
|
<properties>
|
|||
|
<java.version>8</java.version>
|
|||
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|||
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|||
|
<easyplugin.version>1.3.9</easyplugin.version>
|
|||
|
<easysql.version>0.3.8</easysql.version>
|
|||
|
</properties>
|
|||
|
|
|||
|
<groupId>cc.carm.plugin</groupId>
|
|||
|
<artifactId>itemcommands</artifactId>
|
|||
|
<version>0.1.0-SNAPSHOT</version>
|
|||
|
|
|||
|
<name>ItemCommands</name>
|
|||
|
<description>物品指令绑定插件,给予玩家可执行对应指令的消耗物品,基于EasyPlugin实现。</description>
|
|||
|
<url>https://github.com/CarmJos/ItemCommands</url>
|
|||
|
|
|||
|
<issueManagement>
|
|||
|
<system>GitHub Issues</system>
|
|||
|
<url>https://github.com/CarmJos/ItemCommands/issues</url>
|
|||
|
</issueManagement>
|
|||
|
|
|||
|
<ciManagement>
|
|||
|
<system>GitHub Actions</system>
|
|||
|
<url>https://github.com/CarmJos/ItemCommands/actions/workflows/maven.yml</url>
|
|||
|
</ciManagement>
|
|||
|
|
|||
|
<distributionManagement>
|
|||
|
<downloadUrl>https://github.com/CarmJos/ItemCommands/releases</downloadUrl>
|
|||
|
</distributionManagement>
|
|||
|
|
|||
|
<developers>
|
|||
|
<developer>
|
|||
|
<id>CarmJos</id>
|
|||
|
<name>Carm Jos</name>
|
|||
|
<email>carm@carm.cc</email>
|
|||
|
<url>https://work.carm.cc</url>
|
|||
|
</developer>
|
|||
|
</developers>
|
|||
|
|
|||
|
<repositories>
|
|||
|
|
|||
|
<repository>
|
|||
|
<id>github</id>
|
|||
|
<name>GitHub Packages</name>
|
|||
|
<url>https://maven.pkg.github.com/CarmJos/*</url>
|
|||
|
</repository>
|
|||
|
|
|||
|
<repository>
|
|||
|
<id>central</id>
|
|||
|
<url>https://repo1.maven.org/maven2/</url>
|
|||
|
</repository>
|
|||
|
|
|||
|
<repository>
|
|||
|
<id>nexus</id>
|
|||
|
<url>https://mvn.lumine.io/repository/maven-public/</url>
|
|||
|
</repository>
|
|||
|
|
|||
|
<repository>
|
|||
|
<id>carm-repo</id>
|
|||
|
<name>Carm's Repo</name>
|
|||
|
<url>https://repo.carm.cc/repository/maven-public/</url>
|
|||
|
</repository>
|
|||
|
|
|||
|
</repositories>
|
|||
|
|
|||
|
<dependencies>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>cc.carm.lib</groupId>
|
|||
|
<artifactId>easysql-beecp</artifactId>
|
|||
|
<version>${easysql.version}</version>
|
|||
|
<scope>compile</scope>
|
|||
|
<optional>true</optional>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>cc.carm.lib</groupId>
|
|||
|
<artifactId>easyplugin-main</artifactId>
|
|||
|
<version>${easyplugin.version}</version>
|
|||
|
<scope>compile</scope>
|
|||
|
<optional>true</optional>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>cc.carm.lib</groupId>
|
|||
|
<artifactId>easyplugin-configuration</artifactId>
|
|||
|
<version>${easyplugin.version}</version>
|
|||
|
<scope>compile</scope>
|
|||
|
<optional>true</optional>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>cc.carm.lib</groupId>
|
|||
|
<artifactId>githubreleases4j</artifactId>
|
|||
|
<version>1.3.1</version>
|
|||
|
<scope>compile</scope>
|
|||
|
<optional>true</optional>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.bstats</groupId>
|
|||
|
<artifactId>bstats-bukkit</artifactId>
|
|||
|
<version>3.0.0</version>
|
|||
|
<scope>compile</scope>
|
|||
|
<optional>true</optional>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.spigotmc</groupId>
|
|||
|
<artifactId>spigot-api</artifactId>
|
|||
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
|||
|
<scope>provided</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>org.spigotmc</groupId>
|
|||
|
<artifactId>spigot</artifactId>
|
|||
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
|||
|
<scope>provided</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<dependency>
|
|||
|
<groupId>me.clip</groupId>
|
|||
|
<artifactId>placeholderapi</artifactId>
|
|||
|
<version>2.10.9</version>
|
|||
|
<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>
|
|||
|
<version>23.0.0</version>
|
|||
|
<scope>provided</scope>
|
|||
|
</dependency>
|
|||
|
|
|||
|
</dependencies>
|
|||
|
|
|||
|
|
|||
|
<build>
|
|||
|
<plugins>
|
|||
|
<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>
|
|||
|
<plugin>
|
|||
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
<artifactId>maven-surefire-plugin</artifactId>
|
|||
|
<version>2.22.1</version>
|
|||
|
<configuration>
|
|||
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|||
|
</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>
|
|||
|
<encoding>UTF-8</encoding>
|
|||
|
<compilerArgument>-parameters</compilerArgument>
|
|||
|
</configuration>
|
|||
|
</plugin>
|
|||
|
<plugin>
|
|||
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
<artifactId>maven-jar-plugin</artifactId>
|
|||
|
<version>3.2.0</version>
|
|||
|
</plugin>
|
|||
|
<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>
|
|||
|
<plugin>
|
|||
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
<artifactId>maven-shade-plugin</artifactId>
|
|||
|
<version>3.2.3</version>
|
|||
|
<executions>
|
|||
|
<execution>
|
|||
|
<phase>package</phase>
|
|||
|
<goals>
|
|||
|
<goal>shade</goal>
|
|||
|
</goals>
|
|||
|
<configuration>
|
|||
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|||
|
</configuration>
|
|||
|
</execution>
|
|||
|
</executions>
|
|||
|
<configuration>
|
|||
|
<finalName>${project.name}-${project.version}</finalName>
|
|||
|
<outputDirectory>${project.basedir}/asset</outputDirectory>
|
|||
|
<minimizeJar>true</minimizeJar>
|
|||
|
<relocations>
|
|||
|
<relocation>
|
|||
|
<pattern>cc.carm.lib</pattern>
|
|||
|
<shadedPattern>cc.carm.plugin.itemcommands.lib</shadedPattern>
|
|||
|
</relocation>
|
|||
|
<relocation>
|
|||
|
<pattern>org.bstats</pattern>
|
|||
|
<shadedPattern>cc.carm.plugin.itemcommands.lib.bstats</shadedPattern>
|
|||
|
</relocation>
|
|||
|
<relocation>
|
|||
|
<pattern>org.json</pattern>
|
|||
|
<shadedPattern>cc.carm.plugin.itemcommands.lib.json</shadedPattern>
|
|||
|
</relocation>
|
|||
|
</relocations>
|
|||
|
<filters>
|
|||
|
<filter>
|
|||
|
<artifact>*:*</artifact>
|
|||
|
<excludes>
|
|||
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|||
|
<exclude>META-INF/*.txt</exclude>
|
|||
|
</excludes>
|
|||
|
</filter>
|
|||
|
</filters>
|
|||
|
</configuration>
|
|||
|
</plugin>
|
|||
|
</plugins>
|
|||
|
<resources>
|
|||
|
<resource>
|
|||
|
<directory>src/main/resources</directory>
|
|||
|
<filtering>true</filtering>
|
|||
|
</resource>
|
|||
|
</resources>
|
|||
|
</build>
|
|||
|
|
|||
|
|
|||
|
</project>
|