pom.xml 6.4 KB

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