mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-05 00:58:17 +08:00
869811dd3f
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
346 lines
12 KiB
XML
346 lines
12 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>
|
|
<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>
|
|
</properties>
|
|
|
|
<groupId>cc.carm.lib</groupId>
|
|
<artifactId>easyplugin-parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.5.14</version>
|
|
<modules>
|
|
<module>base/color</module>
|
|
<module>base/utils</module>
|
|
|
|
<module>base/main</module>
|
|
<module>base/messages</module>
|
|
<module>base/gui</module>
|
|
<module>base/command</module>
|
|
<module>base/command-alias</module>
|
|
<module>base/storage</module>
|
|
<module>base/user</module>
|
|
|
|
<module>extension/papi</module>
|
|
<module>extension/vault</module>
|
|
<module>extension/gh-checker</module>
|
|
|
|
<module>collection/all</module>
|
|
<module>collection/bom</module>
|
|
<module>collection/common</module>
|
|
</modules>
|
|
|
|
<name>EasyPlugin</name>
|
|
<description>轻松插件类库,简单快捷的通用Spigot插件基础类库。</description>
|
|
<url>https://github.com/CarmJos/EasyPlugin</url>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:CarmJos/EasyPlugin.git</connection>
|
|
<developerConnection>scm:git:git@github.com:CarmJos/EasyPlugin.git</developerConnection>
|
|
<url>https://github.com/CarmJos/EasyPlugin</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>CarmJos</id>
|
|
<name>Carm Jos</name>
|
|
<email>carm@carm.cc</email>
|
|
<url>https://www.carm.cc</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The MIT License</name>
|
|
<url>https://opensource.org/licenses/MIT</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<issueManagement>
|
|
<system>GitHub Issues</system>
|
|
<url>https://github.com/CarmJos/EasyPlugin/issues</url>
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
<system>GitHub Actions</system>
|
|
<url>https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml</url>
|
|
</ciManagement>
|
|
|
|
<distributionManagement>
|
|
<downloadUrl>https://github.com/CarmJos/EasyPlugin/releases</downloadUrl>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
<id>sonatype</id>
|
|
<name>Sonatype Snapshot Repository</name>
|
|
<url>https://s01.oss.sonatype.org/content/groups/public/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>minebench-repo</id>
|
|
<url>https://repo.minebench.de/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>codemc-snapshots</id>
|
|
<url>https://repo.codemc.io/repository/maven-snapshots/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</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>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>26.0.2-1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>me.clip</groupId>
|
|
<artifactId>placeholderapi</artifactId>
|
|
<version>2.11.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
<artifactId>VaultAPI</artifactId>
|
|
<version>1.7.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cc.carm.lib</groupId>
|
|
<artifactId>githubreleases4j</artifactId>
|
|
<version>1.3.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.5.4</version>
|
|
<configuration>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.14.1</version>
|
|
<configuration>
|
|
<source>${project.jdk.version}</source>
|
|
<target>${project.jdk.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.4.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.3.1</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-javadoc-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.2.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<gpgArguments>
|
|
<arg>--pinentry-mode</arg>
|
|
<arg>loopback</arg>
|
|
</gpgArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
<releaseProfiles>release</releaseProfiles>
|
|
<goals>deploy</goals>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.12.0</version>
|
|
<configuration>
|
|
<classifier>javadoc</classifier>
|
|
<detectJavaApiLink>false</detectJavaApiLink>
|
|
<encoding>UTF-8</encoding>
|
|
<charset>UTF-8</charset>
|
|
<docencoding>UTF-8</docencoding>
|
|
<locale>zh_CN</locale>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|
<exclude>META-INF/*.txt</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
<id>central</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.sonatype.central</groupId>
|
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
|
<version>0.9.0</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<publishingServerId>central</publishingServerId>
|
|
<autoPublish>true</autoPublish>
|
|
<excludeArtifacts>
|
|
<excludeArtifact>configured-demo</excludeArtifact>
|
|
</excludeArtifacts>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>github</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>github</id>
|
|
<name>GitHub Packages</name>
|
|
<url>https://maven.pkg.github.com/CarmJos/EasyPlugin</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>local</id>
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>localRepository</id>
|
|
<url>file:${user.home}/local-deploy/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>localRepository</id>
|
|
<url>file:${user.home}/local-deploy/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project> |