pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.chuanghai.repair</groupId>
  12. <artifactId>repair_reporting_system_api</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>repairs</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-security</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.thymeleaf.extras</groupId>
  30. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  31. </dependency>
  32. <!--web -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. </dependency>
  41. <!--导入工具包-->
  42. <dependency>
  43. <groupId>com.qcloud</groupId>
  44. <artifactId>cos_api</artifactId>
  45. <version>5.6.15</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>1.2.4</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-io</artifactId>
  55. <version>1.3.2</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>commons-codec</groupId>
  59. <artifactId>commons-codec</artifactId>
  60. <version>1.15</version>
  61. </dependency>
  62. <!-- spring Boot JDBC-->
  63. <!-- MySQL版本不同需要的连接jar包的版本也不同-->
  64. <dependency>
  65. <groupId>mysql</groupId>
  66. <artifactId>mysql-connector-java</artifactId>
  67. <version>5.1.6</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-jdbc</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.mybatis.spring.boot</groupId>
  75. <artifactId>mybatis-spring-boot-starter</artifactId>
  76. <version>2.1.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-configuration-processor</artifactId>
  81. <optional>true</optional>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.projectlombok</groupId>
  85. <artifactId>lombok</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.security</groupId>
  90. <artifactId>spring-security-test</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-data-jpa</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.xmlunit</groupId>
  99. <artifactId>xmlunit-core</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.mybatis</groupId>
  103. <artifactId>mybatis</artifactId>
  104. <version>3.5.4</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.mybatis</groupId>
  108. <artifactId>mybatis-spring</artifactId>
  109. <version>2.0.4</version>
  110. </dependency>
  111. <!--部署热启动依赖-->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-devtools</artifactId>
  115. <optional>true</optional>
  116. <version>2.6.3</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.data</groupId>
  120. <artifactId>spring-data-jpa</artifactId>
  121. <version>2.6.1</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-orm</artifactId>
  126. <version>5.3.15</version>
  127. </dependency>
  128. <!-- 集成swagger-ui的依赖-->
  129. <dependency>
  130. <groupId>io.swagger</groupId>
  131. <artifactId>swagger-annotations</artifactId>
  132. <version>1.5.21</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.swagger</groupId>
  136. <artifactId>swagger-models</artifactId>
  137. <version>1.5.21</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>io.springfox</groupId>
  141. <artifactId>springfox-swagger2</artifactId>
  142. <version>2.9.2</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.github.xiaoymin</groupId>
  146. <artifactId>swagger-bootstrap-ui</artifactId>
  147. <version>1.9.5</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.junit.jupiter</groupId>
  151. <artifactId>junit-jupiter</artifactId>
  152. <version>RELEASE</version>
  153. <scope>test</scope>
  154. </dependency>
  155. <!--导入JWT 生成token-->
  156. <dependency>
  157. <groupId>com.auth0</groupId>
  158. <artifactId>java-jwt</artifactId>
  159. <version>3.8.2</version>
  160. </dependency>
  161. <!-- 配置缓存依赖-->
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-starter-cache</artifactId>
  165. </dependency>
  166. <dependency>
  167. <groupId>net.sf.ehcache</groupId>
  168. <artifactId>ehcache</artifactId>
  169. </dependency>
  170. <!--第一种方式导入校验依赖-->
  171. <dependency>
  172. <groupId>javax.validation</groupId>
  173. <artifactId>validation-api</artifactId>
  174. <version>2.0.1.Final</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.springframework.cloud</groupId>
  178. <artifactId>spring-cloud-commons</artifactId>
  179. <version>2.2.3.RELEASE</version>
  180. </dependency>
  181. </dependencies>
  182. <build>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-maven-plugin</artifactId>
  187. <configuration>
  188. <excludes>
  189. <exclude>
  190. <groupId>org.projectlombok</groupId>
  191. <artifactId>lombok</artifactId>
  192. </exclude>
  193. </excludes>
  194. <!--热启动配置-->
  195. <fork>true</fork>
  196. <addResources>true</addResources>
  197. </configuration>
  198. </plugin>
  199. </plugins>
  200. </build>
  201. </project>