pom.xml 5.7 KB

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