pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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.springframework.boot</groupId>
  75. <artifactId>spring-boot-configuration-processor</artifactId>
  76. <optional>true</optional>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <optional>true</optional>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.security</groupId>
  85. <artifactId>spring-security-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-data-jpa</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.xmlunit</groupId>
  94. <artifactId>xmlunit-core</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.mybatis.spring.boot</groupId>
  98. <artifactId>mybatis-spring-boot-starter</artifactId>
  99. <version>2.1.2</version>
  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. <dependency>
  112. <groupId>junit</groupId>
  113. <artifactId>junit</artifactId>
  114. <version>4.13</version>
  115. <scope>test</scope>
  116. </dependency>
  117. <!--部署热启动依赖-->
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-devtools</artifactId>
  121. <optional>true</optional>
  122. <version>2.6.3</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.data</groupId>
  126. <artifactId>spring-data-jpa</artifactId>
  127. <version>2.6.1</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework</groupId>
  131. <artifactId>spring-orm</artifactId>
  132. <version>5.3.15</version>
  133. </dependency>
  134. <!-- 集成swagger-ui的依赖-->
  135. <dependency>
  136. <groupId>io.swagger</groupId>
  137. <artifactId>swagger-annotations</artifactId>
  138. <version>1.5.21</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>io.swagger</groupId>
  142. <artifactId>swagger-models</artifactId>
  143. <version>1.5.21</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>io.springfox</groupId>
  147. <artifactId>springfox-swagger2</artifactId>
  148. <version>2.9.2</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.github.xiaoymin</groupId>
  152. <artifactId>swagger-bootstrap-ui</artifactId>
  153. <version>1.9.5</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.junit.jupiter</groupId>
  157. <artifactId>junit-jupiter</artifactId>
  158. <version>RELEASE</version>
  159. <scope>test</scope>
  160. </dependency>
  161. <!--导入JWT 生成token-->
  162. <dependency>
  163. <groupId>com.auth0</groupId>
  164. <artifactId>java-jwt</artifactId>
  165. <version>3.8.2</version>
  166. </dependency>
  167. <!-- 配置缓存依赖-->
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-cache</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>net.sf.ehcache</groupId>
  174. <artifactId>ehcache</artifactId>
  175. </dependency>
  176. <!--后端校验的依赖-->
  177. <dependency>
  178. <groupId>javax.validation</groupId>
  179. <artifactId>validation-api</artifactId>
  180. <version>2.0.1.Final</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework.cloud</groupId>
  184. <artifactId>spring-cloud-commons</artifactId>
  185. <version>2.2.3.RELEASE</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.github.pagehelper</groupId>
  189. <artifactId>pagehelper-spring-boot-starter</artifactId>
  190. <version>1.2.10</version>
  191. </dependency>
  192. <!--&lt;!&ndash; mybatis-plus 依赖&ndash;&gt;-->
  193. <!-- <dependency>-->
  194. <!-- <groupId>com.baomidou</groupId>-->
  195. <!-- <artifactId>mybatis-plus-boot-starter</artifactId>-->
  196. <!-- <version>3.5.1</version>-->
  197. <!-- </dependency>-->
  198. <!-- <dependency>-->
  199. <!-- <groupId>com.baomidou</groupId>-->
  200. <!-- <artifactId>mybatis-plus-boot-starter-test</artifactId>-->
  201. <!-- <version>3.5.1</version>-->
  202. <!-- </dependency>-->
  203. <!-- jackjson依赖-->
  204. <dependency>
  205. <groupId>com.fasterxml.jackson.core</groupId>
  206. <artifactId>jackson-databind</artifactId>
  207. </dependency>
  208. </dependencies>
  209. <build>
  210. <plugins>
  211. <plugin>
  212. <groupId>org.springframework.boot</groupId>
  213. <artifactId>spring-boot-maven-plugin</artifactId>
  214. <configuration>
  215. <excludes>
  216. <exclude>
  217. <groupId>org.projectlombok</groupId>
  218. <artifactId>lombok</artifactId>
  219. </exclude>
  220. </excludes>
  221. <!--热启动配置-->
  222. <fork>true</fork>
  223. <addResources>true</addResources>
  224. </configuration>
  225. </plugin>
  226. </plugins>
  227. </build>
  228. </project>