pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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.thymeleaf.extras</groupId>-->
  26. <!-- <artifactId>thymeleaf-extras-springsecurity5</artifactId>-->
  27. <!-- </dependency>-->
  28. <!-- <dependency>-->
  29. <!-- <groupId>org.springframework.security</groupId>-->
  30. <!-- <artifactId>spring-security-test</artifactId>-->
  31. <!-- <scope>test</scope>-->
  32. <!-- </dependency>-->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  36. </dependency>
  37. <!--web -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. </dependency>
  46. <!--导入工具包-->
  47. <dependency>
  48. <groupId>com.qcloud</groupId>
  49. <artifactId>cos_api</artifactId>
  50. <version>5.6.15</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba</groupId>
  54. <artifactId>fastjson</artifactId>
  55. <version>1.2.4</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.commons</groupId>
  59. <artifactId>commons-io</artifactId>
  60. <version>1.3.2</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-codec</groupId>
  64. <artifactId>commons-codec</artifactId>
  65. <version>1.15</version>
  66. </dependency>
  67. <!-- spring Boot JDBC-->
  68. <!-- MySQL版本不同需要的连接jar包的版本也不同-->
  69. <dependency>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. <version>5.1.6</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-jdbc</artifactId>
  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.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. <!-- 集成easypoi组件 .导出excel http://easypoi.mydoc.io/ -->
  193. <dependency>
  194. <groupId>cn.afterturn</groupId>
  195. <artifactId>easypoi-base</artifactId>
  196. <version>3.2.0</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>cn.afterturn</groupId>
  200. <artifactId>easypoi-web</artifactId>
  201. <version>3.2.0</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>cn.afterturn</groupId>
  205. <artifactId>easypoi-annotation</artifactId>
  206. <version>3.2.0</version>
  207. </dependency>
  208. <!-- jackjson依赖-->
  209. <dependency>
  210. <groupId>com.fasterxml.jackson.core</groupId>
  211. <artifactId>jackson-databind</artifactId>
  212. </dependency>
  213. <!-- log4j-->
  214. <dependency>
  215. <groupId>org.springframework.boot</groupId>
  216. <artifactId>spring-boot-starter-web</artifactId>
  217. <exclusions>
  218. <exclusion>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-starter-logging</artifactId>
  221. </exclusion>
  222. </exclusions>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-starter</artifactId>
  227. <exclusions>
  228. <exclusion>
  229. <groupId>org.springframework.boot</groupId>
  230. <artifactId>spring-boot-starter-logging</artifactId>
  231. </exclusion>
  232. </exclusions>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.springframework.boot</groupId>
  236. <artifactId>spring-boot-starter-log4j</artifactId>
  237. <version>1.3.8.RELEASE</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>com.google.code.gson</groupId>
  241. <artifactId>gson</artifactId>
  242. <version>2.8.6</version>
  243. </dependency>
  244. </dependencies>
  245. <build>
  246. <plugins>
  247. <plugin>
  248. <groupId>org.springframework.boot</groupId>
  249. <artifactId>spring-boot-maven-plugin</artifactId>
  250. <configuration>
  251. <excludes>
  252. <exclude>
  253. <groupId>org.projectlombok</groupId>
  254. <artifactId>lombok</artifactId>
  255. </exclude>
  256. </excludes>
  257. <!--热启动配置-->
  258. <fork>true</fork>
  259. <addResources>true</addResources>
  260. </configuration>
  261. </plugin>
  262. </plugins>
  263. </build>
  264. </project>