pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>3.1.1</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.zhixinghe1</groupId>
  13. <artifactId>online-tool-service</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>OnlineToolService</name>
  16. <description>a online tool service</description>
  17. <properties>
  18. <java.version>17</java.version>
  19. <mapstruct.version>1.5.5.Final</mapstruct.version>
  20. <mybatis.plus.version>3.5.3.1</mybatis.plus.version>
  21. <thumbnailator.version>0.4.20</thumbnailator.version>
  22. <lombok.mapstruct.binding.version>0.2.0</lombok.mapstruct.binding.version>
  23. <spring-cloud.version>2022.0.3</spring-cloud.version>
  24. <jasypt.version>3.0.5</jasypt.version>
  25. <jwt.version>4.4.0</jwt.version>
  26. </properties>
  27. <dependencyManagement>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-dependencies</artifactId>
  32. <version>${spring-cloud.version}</version>
  33. <type>pom</type>
  34. <scope>import</scope>
  35. </dependency>
  36. </dependencies>
  37. </dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-validation</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-aop</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-openfeign</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.h2database</groupId>
  57. <artifactId>h2</artifactId>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.projectlombok</groupId>
  62. <artifactId>lombok</artifactId>
  63. <optional>true</optional>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok-mapstruct-binding</artifactId>
  68. <version>${lombok.mapstruct.binding.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springdoc</groupId>
  77. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  78. <version>2.1.0</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>net.coobird</groupId>
  82. <artifactId>thumbnailator</artifactId>
  83. <version>${thumbnailator.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.baomidou</groupId>
  87. <artifactId>mybatis-plus-boot-starter</artifactId>
  88. <version>${mybatis.plus.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mapstruct</groupId>
  92. <artifactId>mapstruct</artifactId>
  93. <version>${mapstruct.version}</version>
  94. <scope>compile</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.mapstruct</groupId>
  98. <artifactId>mapstruct-processor</artifactId>
  99. <version>${mapstruct.version}</version>
  100. <scope>compile</scope>
  101. </dependency>
  102. <!-- 加解密 -->
  103. <dependency>
  104. <groupId>com.github.ulisesbocchio</groupId>
  105. <artifactId>jasypt-spring-boot-starter</artifactId>
  106. <version>${jasypt.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-cache</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.github.ben-manes.caffeine</groupId>
  114. <artifactId>caffeine</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.auth0</groupId>
  118. <artifactId>java-jwt</artifactId>
  119. <version>${jwt.version}</version>
  120. </dependency>
  121. </dependencies>
  122. <!-- 配置阿里云仓库 -->
  123. <repositories>
  124. <repository>
  125. <id>aliyun-repos</id>
  126. <url>https://maven.aliyun.com/repository/public</url>
  127. <releases>
  128. <enabled>true</enabled>
  129. </releases>
  130. <snapshots>
  131. <enabled>false</enabled>
  132. </snapshots>
  133. </repository>
  134. </repositories>
  135. <pluginRepositories>
  136. <pluginRepository>
  137. <id>aliyun-repos</id>
  138. <url>https://maven.aliyun.com/repository/public</url>
  139. <releases>
  140. <enabled>true</enabled>
  141. </releases>
  142. <snapshots>
  143. <enabled>false</enabled>
  144. </snapshots>
  145. </pluginRepository>
  146. </pluginRepositories>
  147. <build>
  148. <plugins>
  149. <plugin>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-maven-plugin</artifactId>
  152. <configuration>
  153. <excludes>
  154. <exclude>
  155. <groupId>org.projectlombok</groupId>
  156. <artifactId>lombok</artifactId>
  157. </exclude>
  158. </excludes>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-compiler-plugin</artifactId>
  164. <configuration>
  165. <annotationProcessorPaths>
  166. <path>
  167. <groupId>org.projectlombok</groupId>
  168. <artifactId>lombok</artifactId>
  169. <version>${lombok.version}</version>
  170. </path>
  171. <path>
  172. <groupId>org.mapstruct</groupId>
  173. <artifactId>mapstruct-processor</artifactId>
  174. <version>${mapstruct.version}</version>
  175. </path>
  176. <path>
  177. <groupId>org.projectlombok</groupId>
  178. <artifactId>lombok-mapstruct-binding</artifactId>
  179. <version>${lombok.mapstruct.binding.version}</version>
  180. </path>
  181. </annotationProcessorPaths>
  182. </configuration>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>