325 lines
10 KiB
XML
325 lines
10 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>
|
|
|
|
<groupId>me.qwq</groupId>
|
|
<artifactId>doghouse</artifactId>
|
|
<version>1.3.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Doghouse</name>
|
|
<description>Private Blog System for Doghole</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.3.0</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>22</java.version>
|
|
<maven.compiler.source>22</maven.compiler.source>
|
|
<maven.compiler.target>22</maven.compiler.target>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
</dependency>
|
|
<!--
|
|
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-cache -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring session redis 依赖 -->
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-redis</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.redisson/redisson -->
|
|
<dependency>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson</artifactId>
|
|
<version>3.27.1</version>
|
|
</dependency>
|
|
<!--
|
|
https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter -->
|
|
<dependency>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
<version>3.26.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>3.5.5</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<!-- 解决 Invalid value type for attribute 'factoryBeanObjectType':
|
|
java.lang.String 问题 -->
|
|
<exclusion>
|
|
<artifactId>mybatis-spring</artifactId>
|
|
<groupId>org.mybatis</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis-spring</artifactId>
|
|
<version>3.0.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.yulichang</groupId>
|
|
<artifactId>mybatis-plus-join-boot-starter</artifactId>
|
|
<version>1.4.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.mysql/mysql-connector-j -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-text</artifactId>
|
|
<version>1.11.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.14.0</version><!--$NO-MVN-MAN-VER$-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vladsch.flexmark</groupId>
|
|
<artifactId>flexmark-all</artifactId>
|
|
<version>0.62.2</version>
|
|
<exclusions>
|
|
<!-- 移除不需要的组件 -->
|
|
<exclusion>
|
|
<groupId>com.vladsch.flexmark</groupId>
|
|
<artifactId>flexmark-pdf-converter</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15to18 -->
|
|
<!-- sha224 哈希套件 -->
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15to18</artifactId>
|
|
<version>1.77</version>
|
|
</dependency>
|
|
|
|
<!-- 验证码 -->
|
|
<dependency>
|
|
<groupId>com.github.penggle</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<version>2.3.2</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
https://mvnrepository.com/artifact/com.twelvemonkeys.imageio/imageio-webp -->
|
|
<!-- WEBP 图像读取支持,用于判断上传文件的长宽 -->
|
|
<dependency>
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
<artifactId>imageio-webp</artifactId>
|
|
<version>3.10.1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>2.17.0</version><!--$NO-MVN-MAN-VER$-->
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.rometools/rome -->
|
|
<!-- Atom/RSS -->
|
|
<dependency>
|
|
<groupId>com.rometools</groupId>
|
|
<artifactId>rome</artifactId>
|
|
<version>1.16.0</version>
|
|
</dependency>
|
|
<!-- 邮件 -->
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
<!-- quartz 定时任务 -->
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.reflections/reflections -->
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.10.2</version>
|
|
</dependency>
|
|
|
|
<!-- 给头像做反代 -->
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 给头像做反代 -->
|
|
<dependency>
|
|
<groupId>me.qwq</groupId>
|
|
<artifactId>dogface</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>33.4.8-jre</version>
|
|
</dependency>
|
|
<!-- IP 归属地 -->
|
|
<dependency>
|
|
<groupId>com.maxmind.geoip2</groupId>
|
|
<artifactId>geoip2</artifactId>
|
|
<version>4.3.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>build-info</id>
|
|
<goals>
|
|
<goal>build-info</goal>
|
|
</goals>
|
|
<configuration>
|
|
<additionalProperties>
|
|
<java.version>${java.version}</java.version>
|
|
<description>${project.description}</description>
|
|
</additionalProperties>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<argLine>
|
|
--add-opens=java.base/java.lang=ALL-UNNAMED
|
|
--add-opens=java.base/java.util=ALL-UNNAMED
|
|
</argLine>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<excludes>
|
|
<exclude>/static/blog/plugins/doghouse/js/scrollLock/demo/**</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|