pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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>mysql</groupId>
  76. <artifactId>mysql-connector-java</artifactId>
  77. <scope>runtime</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-jdbc</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-configuration-processor</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.projectlombok</groupId>
  90. <artifactId>lombok</artifactId>
  91. <optional>true</optional>
  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.spring.boot</groupId>
  103. <artifactId>mybatis-spring-boot-starter</artifactId>
  104. <version>2.1.2</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.mybatis</groupId>
  108. <artifactId>mybatis</artifactId>
  109. <version>3.5.4</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.mybatis</groupId>
  113. <artifactId>mybatis-spring</artifactId>
  114. <version>2.0.4</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>junit</groupId>
  118. <artifactId>junit</artifactId>
  119. <version>4.13</version>
  120. <scope>test</scope>
  121. </dependency>
  122. <!--部署热启动依赖-->
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-devtools</artifactId>
  126. <optional>true</optional>
  127. <version>2.6.3</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework.data</groupId>
  131. <artifactId>spring-data-jpa</artifactId>
  132. <version>2.6.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework</groupId>
  136. <artifactId>spring-orm</artifactId>
  137. <version>5.3.15</version>
  138. </dependency>
  139. <!-- 集成swagger-ui的依赖-->
  140. <dependency>
  141. <groupId>io.swagger</groupId>
  142. <artifactId>swagger-annotations</artifactId>
  143. <version>1.5.21</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>io.swagger</groupId>
  147. <artifactId>swagger-models</artifactId>
  148. <version>1.5.21</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>io.springfox</groupId>
  152. <artifactId>springfox-swagger2</artifactId>
  153. <version>2.9.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.github.xiaoymin</groupId>
  157. <artifactId>swagger-bootstrap-ui</artifactId>
  158. <version>1.9.5</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.junit.jupiter</groupId>
  162. <artifactId>junit-jupiter</artifactId>
  163. <version>RELEASE</version>
  164. <scope>test</scope>
  165. </dependency>
  166. <!--导入JWT 生成token-->
  167. <dependency>
  168. <groupId>com.auth0</groupId>
  169. <artifactId>java-jwt</artifactId>
  170. <version>3.8.2</version>
  171. </dependency>
  172. <!-- 配置缓存依赖-->
  173. <dependency>
  174. <groupId>org.springframework.boot</groupId>
  175. <artifactId>spring-boot-starter-cache</artifactId>
  176. </dependency>
  177. <dependency>
  178. <groupId>net.sf.ehcache</groupId>
  179. <artifactId>ehcache</artifactId>
  180. </dependency>
  181. <!--后端校验的依赖-->
  182. <dependency>
  183. <groupId>javax.validation</groupId>
  184. <artifactId>validation-api</artifactId>
  185. <version>2.0.1.Final</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.springframework.cloud</groupId>
  189. <artifactId>spring-cloud-commons</artifactId>
  190. <version>2.2.3.RELEASE</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.github.pagehelper</groupId>
  194. <artifactId>pagehelper-spring-boot-starter</artifactId>
  195. <version>1.2.10</version>
  196. </dependency>
  197. <!-- 集成easypoi组件 .导出excel http://easypoi.mydoc.io/ -->
  198. <dependency>
  199. <groupId>cn.afterturn</groupId>
  200. <artifactId>easypoi-base</artifactId>
  201. <version>3.2.0</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>cn.afterturn</groupId>
  205. <artifactId>easypoi-web</artifactId>
  206. <version>3.2.0</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>cn.afterturn</groupId>
  210. <artifactId>easypoi-annotation</artifactId>
  211. <version>3.2.0</version>
  212. </dependency>
  213. <!-- jackjson依赖-->
  214. <dependency>
  215. <groupId>com.fasterxml.jackson.core</groupId>
  216. <artifactId>jackson-databind</artifactId>
  217. </dependency>
  218. <!-- log4j-->
  219. <dependency>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-starter-web</artifactId>
  222. <exclusions>
  223. <exclusion>
  224. <groupId>org.springframework.boot</groupId>
  225. <artifactId>spring-boot-starter-logging</artifactId>
  226. </exclusion>
  227. </exclusions>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.springframework.boot</groupId>
  231. <artifactId>spring-boot-starter</artifactId>
  232. <exclusions>
  233. <exclusion>
  234. <groupId>org.springframework.boot</groupId>
  235. <artifactId>spring-boot-starter-logging</artifactId>
  236. </exclusion>
  237. </exclusions>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.springframework.boot</groupId>
  241. <artifactId>spring-boot-starter-log4j</artifactId>
  242. <version>1.3.8.RELEASE</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>com.google.code.gson</groupId>
  246. <artifactId>gson</artifactId>
  247. <version>2.8.6</version>
  248. </dependency>
  249. </dependencies>
  250. <build>
  251. <plugins>
  252. <plugin>
  253. <groupId>org.springframework.boot</groupId>
  254. <artifactId>spring-boot-maven-plugin</artifactId>
  255. <configuration>
  256. <excludes>
  257. <exclude>
  258. <groupId>org.projectlombok</groupId>
  259. <artifactId>lombok</artifactId>
  260. </exclude>
  261. </excludes>
  262. <!--热启动配置-->
  263. <fork>true</fork>
  264. <addResources>true</addResources>
  265. </configuration>
  266. </plugin>
  267. </plugins>
  268. </build>
  269. </project>