Files

210 lines
7.3 KiB
XML
Raw Permalink Normal View History

2025-07-13 21:17:16 +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>
2025-08-06 15:54:19 +08:00
<version>4.0.0-M1</version>
2025-07-13 21:17:16 +08:00
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.arrokoth</groupId>
<artifactId>authorization-server-standalone</artifactId>
2025-08-06 15:54:19 +08:00
<version>1.2.0.RELEASE</version>
2025-07-13 21:17:16 +08:00
<name>authorization-server-standalone</name>
<description>authorization-server-standalone</description>
<url/>
<licenses>
<license/>
</licenses>
<developers>
<developer/>
</developers>
<scm>
<connection/>
<developerConnection/>
<tag/>
<url/>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
2025-07-16 16:15:33 +08:00
<spring.boot.version>3.5.3</spring.boot.version>
2025-08-06 15:54:19 +08:00
<arrokoth.version>1.2.0.RELEASE</arrokoth.version>
<arrokoth.bom.version>1.2.0.RELEASE</arrokoth.bom.version>
2025-07-13 21:17:16 +08:00
</properties>
<dependencies>
2025-07-16 16:15:33 +08:00
<dependency>
<groupId>com.arrokoth.framework.boot</groupId>
<artifactId>arrokoth-framework-starter</artifactId>
<version>${arrokoth.version}</version>
</dependency>
2025-07-13 21:17:16 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-authorization-server</artifactId>
2025-07-14 08:33:27 +08:00
<exclusions>
<exclusion>
<artifactId>nimbus-jose-jwt</artifactId>
<groupId>com.nimbusds</groupId>
</exclusion>
</exclusions>
</dependency>
2025-08-08 17:11:54 +08:00
<!-- JWT 支持 -->
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>9.47</version>
</dependency>
2025-07-14 08:33:27 +08:00
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
2025-07-13 21:17:16 +08:00
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.39</version>
</dependency>
2025-08-08 17:11:54 +08:00
<dependency>
<groupId>net.sf.uadetector</groupId>
<artifactId>uadetector-resources</artifactId>
<version>2014.10</version>
<exclusions>
<exclusion>
<artifactId>jsr305</artifactId>
<groupId>com.google.code.findbugs</groupId>
</exclusion>
</exclusions>
</dependency>
2025-07-13 21:17:16 +08:00
<!-- Apache Commons Pool2 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
2025-07-14 08:33:27 +08:00
<version>2.12.1</version> <!-- 根据需要选择最新版本 -->
2025-07-13 21:17:16 +08:00
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Spring Session Data Redis -->
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
<!-- Spring Data Redis -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
</dependencies>
2025-07-16 16:15:33 +08:00
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.arrokoth.framework.boot</groupId>
<artifactId>arrokoth-framework-springboot-dependencies</artifactId>
<version>${arrokoth.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2025-07-13 21:17:16 +08:00
<build>
2025-07-16 16:15:33 +08:00
<directory>${project.basedir}/target</directory>
2025-07-13 21:17:16 +08:00
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
2025-07-16 16:15:33 +08:00
<goal>build-info</goal> <!-- 生成构建信息 -->
<goal>repackage</goal> <!-- 默认 goal必须保留 -->
2025-07-13 21:17:16 +08:00
</goals>
</execution>
</executions>
</plugin>
<!--Compiler-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
2025-07-16 16:15:33 +08:00
<parameters>true</parameters> <!-- 支持获取方法参数名 -->
2025-07-13 21:17:16 +08:00
<source>17</source>
<target>17</target>
2025-07-16 16:15:33 +08:00
<fork>true</fork> <!-- 使用独立 JVM 编译 -->
<verbose>true</verbose> <!-- 输出详细编译信息 -->
<encoding>UTF-8</encoding> <!-- 源码编码 -->
<showWarnings>false</showWarnings> <!-- 不显示警告 -->
2025-07-13 21:17:16 +08:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
2025-07-16 16:15:33 +08:00
<configuration>
<!-- 可选配置项 -->
<failIfNoTests>false</failIfNoTests> <!-- 即使没有测试也不失败 -->
<includes>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
</includes>
</configuration>
2025-07-13 21:17:16 +08:00
</plugin>
</plugins>
</build>
</project>