2020-07-08 23:19:41 +08: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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2023-03-19 02:09:10 +08:00
|
|
|
<version>3.0.4</version>
|
2020-08-05 21:36:17 +08:00
|
|
|
<relativePath/>
|
2020-07-08 23:19:41 +08:00
|
|
|
</parent>
|
2020-08-05 21:36:17 +08:00
|
|
|
|
2021-12-23 20:34:01 +08:00
|
|
|
<groupId>io.papermc</groupId>
|
2020-07-08 23:19:41 +08:00
|
|
|
<artifactId>hangar</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2020-08-05 21:36:17 +08:00
|
|
|
|
2020-07-08 23:19:41 +08:00
|
|
|
<name>hangar</name>
|
2020-07-30 15:48:28 +08:00
|
|
|
<description>Ore, but in Spring, but for Paper</description>
|
2020-07-08 23:19:41 +08:00
|
|
|
|
2020-08-05 21:36:17 +08:00
|
|
|
<properties>
|
|
|
|
<!-- compiling -->
|
2021-12-23 20:34:01 +08:00
|
|
|
<java.version>17</java.version>
|
2020-08-05 21:36:17 +08:00
|
|
|
|
|
|
|
<!-- encoding -->
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>
|
|
|
|
|
|
|
|
<!-- dependency management -->
|
2023-02-11 16:24:24 +08:00
|
|
|
<jdbi3-bom.version>3.37.1</jdbi3-bom.version>
|
2022-03-26 05:52:45 +08:00
|
|
|
<configurate.version>4.1.2</configurate.version>
|
2023-02-11 16:24:24 +08:00
|
|
|
<spring-cloud-aws.version>3.0.0-RC1</spring-cloud-aws.version>
|
2020-08-05 21:36:17 +08:00
|
|
|
|
|
|
|
<!-- dependencies -->
|
2023-03-19 02:09:10 +08:00
|
|
|
<springdoc.version>2.0.4</springdoc.version>
|
2020-08-22 23:33:39 +08:00
|
|
|
<jsitemapgenerator.version>4.5</jsitemapgenerator.version>
|
2022-10-01 17:34:05 +08:00
|
|
|
<org-json.version>20220924</org-json.version>
|
2022-07-25 21:02:31 +08:00
|
|
|
<bucket4j.version>7.6.0</bucket4j.version>
|
2023-03-19 02:09:10 +08:00
|
|
|
<datafaker.version>1.8.1</datafaker.version>
|
2021-03-16 11:26:17 +08:00
|
|
|
<apache-commons-lang.version>3.12.0</apache-commons-lang.version>
|
2023-03-19 02:09:10 +08:00
|
|
|
<jwt.version>4.3.0</jwt.version>
|
|
|
|
<jetbrains-annotations.version>24.0.1</jetbrains-annotations.version>
|
|
|
|
<caffeine.version>3.1.5</caffeine.version>
|
2023-03-04 19:38:35 +08:00
|
|
|
<jarscanner.version>1.0-SNAPSHOT</jarscanner.version>
|
2023-03-19 01:37:53 +08:00
|
|
|
<jgroups.version>5.2.13.Final</jgroups.version>
|
|
|
|
<jgroups-kube.version>2.0.1.Final</jgroups-kube.version>
|
2022-11-07 05:31:56 +08:00
|
|
|
|
2022-07-31 16:51:16 +08:00
|
|
|
<!-- test -->
|
2022-12-04 18:30:05 +08:00
|
|
|
<pg.version>1.17.6</pg.version>
|
2020-08-05 21:36:17 +08:00
|
|
|
|
|
|
|
<!-- plugins -->
|
2023-03-19 02:09:10 +08:00
|
|
|
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
2020-08-05 21:36:17 +08:00
|
|
|
</properties>
|
|
|
|
|
2022-12-28 08:44:06 +08:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
2023-03-04 19:38:35 +08:00
|
|
|
<id>papermc</id>
|
|
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
2022-12-28 08:44:06 +08:00
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2020-08-05 21:36:17 +08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jdbi</groupId>
|
|
|
|
<artifactId>jdbi3-bom</artifactId>
|
|
|
|
<type>pom</type>
|
|
|
|
<version>${jdbi3-bom.version}</version>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
2021-06-09 04:18:20 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spongepowered</groupId>
|
|
|
|
<artifactId>configurate-bom</artifactId>
|
|
|
|
<type>pom</type>
|
2021-12-20 07:26:46 +08:00
|
|
|
<version>${configurate.version}</version>
|
2021-06-09 04:18:20 +08:00
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
2020-08-05 21:36:17 +08:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2020-07-08 23:19:41 +08:00
|
|
|
<dependencies>
|
2023-01-15 23:49:31 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2022-12-28 08:44:06 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-properties-migrator</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2020-07-08 23:19:41 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2020-07-16 05:37:42 +08:00
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2020-07-12 17:47:51 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2020-07-12 17:47:51 +08:00
|
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
2020-07-17 04:41:49 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
</dependency>
|
2021-02-06 03:50:18 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
2023-01-07 22:17:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
2020-07-08 23:19:41 +08:00
|
|
|
|
2020-09-27 01:32:19 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${apache-commons-lang.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-01-15 23:49:31 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>${jetbrains-annotations.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-05-14 17:21:22 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>${org-json.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-04-07 20:35:20 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.vladimir-bukhtoyarov</groupId>
|
|
|
|
<artifactId>bucket4j-core</artifactId>
|
2022-07-25 21:02:31 +08:00
|
|
|
<version>${bucket4j.version}</version>
|
2022-04-07 20:35:20 +08:00
|
|
|
</dependency>
|
|
|
|
|
2021-06-09 04:18:20 +08:00
|
|
|
<!-- configurate -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spongepowered</groupId>
|
|
|
|
<artifactId>configurate-jackson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spongepowered</groupId>
|
|
|
|
<artifactId>configurate-yaml</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-12-28 08:44:06 +08:00
|
|
|
<!-- SpringDoc dependencies -->
|
2020-07-08 23:19:41 +08:00
|
|
|
<dependency>
|
2022-12-28 08:44:06 +08:00
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Bean Validation API support -->
|
|
|
|
<dependency>
|
2022-12-28 08:44:06 +08:00
|
|
|
<groupId>jakarta.validation</groupId>
|
|
|
|
<artifactId>jakarta.validation-api</artifactId>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-07-11 08:27:53 +08:00
|
|
|
<!-- config stuff -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-16 05:37:42 +08:00
|
|
|
<!-- jdbi -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jdbi</groupId>
|
|
|
|
<artifactId>jdbi3-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jdbi</groupId>
|
|
|
|
<artifactId>jdbi3-sqlobject</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jdbi</groupId>
|
|
|
|
<artifactId>jdbi3-postgres</artifactId>
|
|
|
|
</dependency>
|
2020-07-17 05:23:04 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jdbi</groupId>
|
2021-06-04 03:55:51 +08:00
|
|
|
<artifactId>jdbi3-spring5</artifactId>
|
2020-07-17 05:23:04 +08:00
|
|
|
</dependency>
|
2020-07-26 00:07:37 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jdbi</groupId>
|
|
|
|
<artifactId>jdbi3-stringtemplate4</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
</dependency>
|
2020-07-16 05:37:42 +08:00
|
|
|
|
2020-09-11 03:17:56 +08:00
|
|
|
<!-- flyway -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-02-01 00:34:03 +08:00
|
|
|
<!-- sitemap -->
|
2020-08-22 23:33:39 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cz.jiripinkas</groupId>
|
|
|
|
<artifactId>jsitemapgenerator</artifactId>
|
|
|
|
<version>${jsitemapgenerator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-02-01 00:34:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.auth0</groupId>
|
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
|
<version>${jwt.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-08-09 01:39:24 +08:00
|
|
|
<!-- aws -->
|
2022-08-07 17:45:24 +08:00
|
|
|
<dependency>
|
2022-08-09 01:39:24 +08:00
|
|
|
<groupId>io.awspring.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-aws-starter-s3</artifactId>
|
|
|
|
<version>${spring-cloud-aws.version}</version>
|
2022-08-07 17:45:24 +08:00
|
|
|
</dependency>
|
|
|
|
|
2022-11-07 05:31:56 +08:00
|
|
|
<!-- datafaker -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.datafaker</groupId>
|
|
|
|
<artifactId>datafaker</artifactId>
|
|
|
|
<version>${datafaker.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-01-07 22:17:01 +08:00
|
|
|
<!-- tracing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-tracing-bridge-otel</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.opentelemetry</groupId>
|
|
|
|
<artifactId>opentelemetry-exporter-zipkin</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2023-02-11 16:24:24 +08:00
|
|
|
<!-- cache -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
<version>${caffeine.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-03-19 01:37:53 +08:00
|
|
|
<!-- jgroups -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jgroups</groupId>
|
|
|
|
<artifactId>jgroups</artifactId>
|
|
|
|
<version>${jgroups.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jgroups.kubernetes</groupId>
|
|
|
|
<artifactId>jgroups-kubernetes</artifactId>
|
|
|
|
<version>${jgroups-kube.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-03-04 19:38:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.papermc.hangar</groupId>
|
|
|
|
<artifactId>HangarJarScanner</artifactId>
|
|
|
|
<version>${jarscanner.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-08 23:19:41 +08:00
|
|
|
<!-- runtime -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-07-31 16:51:16 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${pg.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-inline</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2020-10-01 01:41:41 +08:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>banner.txt</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2020-07-08 23:19:41 +08:00
|
|
|
<plugins>
|
2020-07-16 05:37:42 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-08-05 21:36:17 +08:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2020-07-16 05:37:42 +08:00
|
|
|
<configuration>
|
2020-08-05 21:36:17 +08:00
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<testSource>${java.version}</testSource>
|
|
|
|
<testTarget>${java.version}</testTarget>
|
|
|
|
<encoding>${encoding}</encoding>
|
2020-07-16 05:37:42 +08:00
|
|
|
<compilerArgs>
|
|
|
|
<arg>-parameters</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-07-08 23:19:41 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-10-01 01:41:41 +08:00
|
|
|
|
|
|
|
<plugin>
|
2022-12-28 08:44:06 +08:00
|
|
|
<groupId>io.github.git-commit-id</groupId>
|
|
|
|
<artifactId>git-commit-id-maven-plugin</artifactId>
|
2020-10-01 01:41:41 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<dateFormat>yyyy-MM-dd-HH:mm:ss</dateFormat>
|
|
|
|
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
|
2022-11-05 19:22:53 +08:00
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
2020-10-01 01:41:41 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-07-08 23:19:41 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|