|
@@ -1,124 +1,166 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?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>
|
|
|
|
|
- <version>3.1.1</version>
|
|
|
|
|
- <relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
- </parent>
|
|
|
|
|
- <groupId>com.zhixinghe1</groupId>
|
|
|
|
|
- <artifactId>ots</artifactId>
|
|
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
- <name>ots</name>
|
|
|
|
|
- <description>a online tool service</description>
|
|
|
|
|
- <properties>
|
|
|
|
|
- <java.version>17</java.version>
|
|
|
|
|
- <mapstruct.version>1.5.5.Final</mapstruct.version>
|
|
|
|
|
- <mybatis.plus.version>3.5.3.1</mybatis.plus.version>
|
|
|
|
|
- <thumbnailator.version>0.4.20</thumbnailator.version>
|
|
|
|
|
- </properties>
|
|
|
|
|
- <dependencies>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
- </dependency>
|
|
|
|
|
|
|
+<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>
|
|
|
|
|
+ <version>3.1.1</version>
|
|
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
+ </parent>
|
|
|
|
|
+ <groupId>com.zhixinghe1</groupId>
|
|
|
|
|
+ <artifactId>ots</artifactId>
|
|
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
+ <name>ots</name>
|
|
|
|
|
+ <description>a online tool service</description>
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <java.version>17</java.version>
|
|
|
|
|
+ <mapstruct.version>1.5.5.Final</mapstruct.version>
|
|
|
|
|
+ <mybatis.plus.version>3.5.3.1</mybatis.plus.version>
|
|
|
|
|
+ <thumbnailator.version>0.4.20</thumbnailator.version>
|
|
|
|
|
+ <org.mapstruct.extensions.spring.version>1.0.1</org.mapstruct.extensions.spring.version>
|
|
|
|
|
+ <lombok.mapstruct.binding.version>0.2.0</lombok.mapstruct.binding.version>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.h2database</groupId>
|
|
|
|
|
+ <artifactId>h2</artifactId>
|
|
|
|
|
+ <scope>runtime</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
|
+ <optional>true</optional>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>lombok-mapstruct-binding</artifactId>-->
|
|
|
|
|
+ <!-- <version>${lombok.mapstruct.binding.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>com.h2database</groupId>
|
|
|
|
|
- <artifactId>h2</artifactId>
|
|
|
|
|
- <scope>runtime</scope>
|
|
|
|
|
- </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>
|
|
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springdoc</groupId>
|
|
|
|
|
- <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
- <version>2.1.0</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>net.coobird</groupId>
|
|
|
|
|
- <artifactId>thumbnailator</artifactId>
|
|
|
|
|
- <version>${thumbnailator.version}</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>com.baomidou</groupId>
|
|
|
|
|
- <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
- <version>${mybatis.plus.version}</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.mapstruct</groupId>
|
|
|
|
|
- <artifactId>mapstruct</artifactId>
|
|
|
|
|
- <version>${mapstruct.version}</version>
|
|
|
|
|
- <scope>compile</scope>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.mapstruct</groupId>
|
|
|
|
|
- <artifactId>mapstruct-processor</artifactId>
|
|
|
|
|
- <version>${mapstruct.version}</version>
|
|
|
|
|
- <scope>compile</scope>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- </dependencies>
|
|
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springdoc</groupId>
|
|
|
|
|
+ <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
+ <version>2.1.0</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>net.coobird</groupId>
|
|
|
|
|
+ <artifactId>thumbnailator</artifactId>
|
|
|
|
|
+ <version>${thumbnailator.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
+ <version>${mybatis.plus.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
|
|
+ <artifactId>mapstruct</artifactId>
|
|
|
|
|
+ <version>${mapstruct.version}</version>
|
|
|
|
|
+ <scope>compile</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
|
|
+ <artifactId>mapstruct-processor</artifactId>
|
|
|
|
|
+ <version>${mapstruct.version}</version>
|
|
|
|
|
+ <scope>compile</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.mapstruct.extensions.spring</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>mapstruct-spring-annotations</artifactId>-->
|
|
|
|
|
+ <!-- <version>${org.mapstruct.extensions.spring.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
+ </dependencies>
|
|
|
|
|
|
|
|
- <!-- 配置阿里云仓库 -->
|
|
|
|
|
- <repositories>
|
|
|
|
|
- <repository>
|
|
|
|
|
- <id>aliyun-repos</id>
|
|
|
|
|
- <url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
- <releases>
|
|
|
|
|
- <enabled>true</enabled>
|
|
|
|
|
- </releases>
|
|
|
|
|
- <snapshots>
|
|
|
|
|
- <enabled>false</enabled>
|
|
|
|
|
- </snapshots>
|
|
|
|
|
- </repository>
|
|
|
|
|
- </repositories>
|
|
|
|
|
- <pluginRepositories>
|
|
|
|
|
- <pluginRepository>
|
|
|
|
|
- <id>aliyun-repos</id>
|
|
|
|
|
- <url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
- <releases>
|
|
|
|
|
- <enabled>true</enabled>
|
|
|
|
|
- </releases>
|
|
|
|
|
- <snapshots>
|
|
|
|
|
- <enabled>false</enabled>
|
|
|
|
|
- </snapshots>
|
|
|
|
|
- </pluginRepository>
|
|
|
|
|
- </pluginRepositories>
|
|
|
|
|
|
|
+ <!-- 配置阿里云仓库 -->
|
|
|
|
|
+ <repositories>
|
|
|
|
|
+ <repository>
|
|
|
|
|
+ <id>aliyun-repos</id>
|
|
|
|
|
+ <url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
+ <releases>
|
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
|
+ </releases>
|
|
|
|
|
+ <snapshots>
|
|
|
|
|
+ <enabled>false</enabled>
|
|
|
|
|
+ </snapshots>
|
|
|
|
|
+ </repository>
|
|
|
|
|
+ </repositories>
|
|
|
|
|
+ <pluginRepositories>
|
|
|
|
|
+ <pluginRepository>
|
|
|
|
|
+ <id>aliyun-repos</id>
|
|
|
|
|
+ <url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
+ <releases>
|
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
|
+ </releases>
|
|
|
|
|
+ <snapshots>
|
|
|
|
|
+ <enabled>false</enabled>
|
|
|
|
|
+ </snapshots>
|
|
|
|
|
+ </pluginRepository>
|
|
|
|
|
+ </pluginRepositories>
|
|
|
|
|
|
|
|
- <build>
|
|
|
|
|
- <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>
|
|
|
|
|
- </plugin>
|
|
|
|
|
- </plugins>
|
|
|
|
|
- </build>
|
|
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <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>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <!-- <plugin>-->
|
|
|
|
|
+ <!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
|
|
|
|
+ <!-- <configuration>-->
|
|
|
|
|
+ <!-- <annotationProcessorPaths>-->
|
|
|
|
|
+ <!-- <path>-->
|
|
|
|
|
+ <!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>lombok</artifactId>-->
|
|
|
|
|
+ <!-- <version>${lombok.version}</version>-->
|
|
|
|
|
+ <!-- </path>-->
|
|
|
|
|
+ <!-- <path>-->
|
|
|
|
|
+ <!-- <groupId>org.mapstruct</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>mapstruct-processor</artifactId>-->
|
|
|
|
|
+ <!-- <version>${mapstruct.version}</version>-->
|
|
|
|
|
+ <!-- </path>-->
|
|
|
|
|
+ <!-- <path>-->
|
|
|
|
|
+ <!-- <groupId>org.projectlombok</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>lombok-mapstruct-binding</artifactId>-->
|
|
|
|
|
+ <!-- <version>lombok.mapstruct.binding.version</version>-->
|
|
|
|
|
+ <!-- </path>-->
|
|
|
|
|
+ <!-- <path>-->
|
|
|
|
|
+ <!-- <groupId>org.mapstruct.extensions.spring</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>mapstruct-spring-extensions</artifactId>-->
|
|
|
|
|
+ <!-- <version>${org.mapstruct.extensions.spring.version}</version>-->
|
|
|
|
|
+ <!-- </path>-->
|
|
|
|
|
+ <!-- </annotationProcessorPaths>-->
|
|
|
|
|
+ <!-- </configuration>-->
|
|
|
|
|
+ <!-- </plugin>-->
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ </build>
|
|
|
|
|
|
|
|
</project>
|
|
</project>
|