2022-06-22 15:28:43 +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>
|
|
|
|
|
<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>easylistener</artifactId>
|
2022-07-16 08:55:56 +00:00
|
|
|
|
<version>2.0.1</version>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>EasyListener</name>
|
|
|
|
|
<description>轻松(做)监听,简单快捷的通用Bukkit插件监听器类库。</description>
|
|
|
|
|
<url>https://github.com/CarmJos/EasyListener</url>
|
|
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
|
<connection>scm:git:git@github.com:CarmJos/EasyListener.git</connection>
|
|
|
|
|
<developerConnection>scm:git:git@github.com:CarmJos/EasyListener.git</developerConnection>
|
|
|
|
|
<url>https://github.com/CarmJos/EasyListener</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>GNU LESSER GENERAL PUBLIC LICENSE</name>
|
|
|
|
|
<url>https://www.gnu.org/licenses/lgpl-3.0.html</url>
|
|
|
|
|
</license>
|
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
|
<system>GitHub Issues</system>
|
|
|
|
|
<url>https://github.com/CarmJos/EasyListener/issues</url>
|
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
|
|
<ciManagement>
|
|
|
|
|
<system>GitHub Actions</system>
|
|
|
|
|
<url>https://github.com/CarmJos/EasyListener/actions/workflows/maven.yml</url>
|
|
|
|
|
</ciManagement>
|
|
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
<downloadUrl>https://github.com/CarmJos/EasyListener/releases</downloadUrl>
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>central</id>
|
|
|
|
|
<url>https://repo1.maven.org/maven2/</url>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>sonatype</id>
|
|
|
|
|
<url>https://oss.sonatype.org/content/groups/public</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>
|
2022-06-23 00:15:23 +00:00
|
|
|
|
<artifactId>spigot-api</artifactId>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
|
<artifactId>annotations</artifactId>
|
2023-11-16 09:56:27 +00:00
|
|
|
|
<version>24.1.0</version>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>4.13.2</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2024-01-11 14:30:21 +00:00
|
|
|
|
<version>3.2.5</version>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
<configuration>
|
|
|
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2024-03-19 12:12:00 +00:00
|
|
|
|
<version>3.13.0</version>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
<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>
|
2024-04-15 18:13:12 +00:00
|
|
|
|
<version>3.4.0</version>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2024-04-05 18:35:46 +00:00
|
|
|
|
<version>3.3.1</version>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
<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>
|
2023-12-05 00:25:08 +00:00
|
|
|
|
<version>3.6.3</version>
|
2022-06-22 16:16:08 +00:00
|
|
|
|
<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>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
</plugin>
|
2022-06-22 16:18:21 +00:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2024-03-26 18:23:47 +00:00
|
|
|
|
<version>3.2.2</version>
|
2022-06-22 16:18:21 +00:00
|
|
|
|
<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>
|
2022-06-22 15:28:43 +00:00
|
|
|
|
</plugins>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
<id>ossrh</id>
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
<snapshotRepository>
|
|
|
|
|
<id>ossrh</id>
|
|
|
|
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
|
</snapshotRepository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>ossrh</id>
|
|
|
|
|
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
|
</repository>
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
<id>github</id>
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>github</id>
|
|
|
|
|
<name>GitHub Packages</name>
|
|
|
|
|
<url>https://maven.pkg.github.com/CarmJos/EasyListener</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>
|