pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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. <thumbnailator.version>0.4.20</thumbnailator.version>
  21. <lombok.mapstruct.binding.version>0.2.0</lombok.mapstruct.binding.version>
  22. <spring-cloud.version>2022.0.3</spring-cloud.version>
  23. <jasypt.version>3.0.5</jasypt.version>
  24. <jwt.version>4.4.0</jwt.version>
  25. <mybatis.mapper.version>2.0.0</mybatis.mapper.version>
  26. <mybatis.springboot.starter.version>3.0.2</mybatis.springboot.starter.version>
  27. </properties>
  28. <dependencyManagement>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-dependencies</artifactId>
  33. <version>${spring-cloud.version}</version>
  34. <type>pom</type>
  35. <scope>import</scope>
  36. </dependency>
  37. </dependencies>
  38. </dependencyManagement>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-cache</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.github.ben-manes.caffeine</groupId>
  46. <artifactId>caffeine</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-validation</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-web</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-aop</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-openfeign</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-tx</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.h2database</groupId>
  70. <artifactId>h2</artifactId>
  71. <scope>runtime</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.projectlombok</groupId>
  75. <artifactId>lombok</artifactId>
  76. <optional>true</optional>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok-mapstruct-binding</artifactId>
  81. <version>${lombok.mapstruct.binding.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>net.coobird</groupId>
  90. <artifactId>thumbnailator</artifactId>
  91. <version>${thumbnailator.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.mybatis.spring.boot</groupId>
  95. <artifactId>mybatis-spring-boot-starter</artifactId>
  96. <version>${mybatis.springboot.starter.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.mybatis</groupId>
  100. <artifactId>mybatis-mapper</artifactId>
  101. <version>${mybatis.mapper.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.mapstruct</groupId>
  105. <artifactId>mapstruct</artifactId>
  106. <version>${mapstruct.version}</version>
  107. <scope>compile</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.mapstruct</groupId>
  111. <artifactId>mapstruct-processor</artifactId>
  112. <version>${mapstruct.version}</version>
  113. <scope>compile</scope>
  114. </dependency>
  115. <!-- 加解密 -->
  116. <dependency>
  117. <groupId>com.github.ulisesbocchio</groupId>
  118. <artifactId>jasypt-spring-boot-starter</artifactId>
  119. <version>${jasypt.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.auth0</groupId>
  123. <artifactId>java-jwt</artifactId>
  124. <version>${jwt.version}</version>
  125. </dependency>
  126. </dependencies>
  127. <!-- 配置阿里云仓库 -->
  128. <repositories>
  129. <repository>
  130. <id>aliyun-repos</id>
  131. <url>https://maven.aliyun.com/repository/public</url>
  132. <releases>
  133. <enabled>true</enabled>
  134. </releases>
  135. <snapshots>
  136. <enabled>false</enabled>
  137. </snapshots>
  138. </repository>
  139. </repositories>
  140. <pluginRepositories>
  141. <pluginRepository>
  142. <id>aliyun-repos</id>
  143. <url>https://maven.aliyun.com/repository/public</url>
  144. <releases>
  145. <enabled>true</enabled>
  146. </releases>
  147. <snapshots>
  148. <enabled>false</enabled>
  149. </snapshots>
  150. </pluginRepository>
  151. </pluginRepositories>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-maven-plugin</artifactId>
  157. <configuration>
  158. <excludes>
  159. <exclude>
  160. <groupId>org.projectlombok</groupId>
  161. <artifactId>lombok</artifactId>
  162. </exclude>
  163. </excludes>
  164. </configuration>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <configuration>
  170. <annotationProcessorPaths>
  171. <path>
  172. <groupId>org.projectlombok</groupId>
  173. <artifactId>lombok</artifactId>
  174. <version>${lombok.version}</version>
  175. </path>
  176. <path>
  177. <groupId>org.mapstruct</groupId>
  178. <artifactId>mapstruct-processor</artifactId>
  179. <version>${mapstruct.version}</version>
  180. </path>
  181. <path>
  182. <groupId>org.projectlombok</groupId>
  183. <artifactId>lombok-mapstruct-binding</artifactId>
  184. <version>${lombok.mapstruct.binding.version}</version>
  185. </path>
  186. </annotationProcessorPaths>
  187. </configuration>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </project>