pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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.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</groupId>
  98. <artifactId>mybatis</artifactId>
  99. <version>3.5.4</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.mybatis</groupId>
  103. <artifactId>mybatis-spring</artifactId>
  104. <version>2.0.4</version>
  105. </dependency>
  106. <!--部署热启动依赖-->
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-devtools</artifactId>
  110. <optional>true</optional>
  111. <version>2.6.3</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.data</groupId>
  115. <artifactId>spring-data-jpa</artifactId>
  116. <version>2.6.1</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-orm</artifactId>
  121. <version>5.3.15</version>
  122. </dependency>
  123. <!-- 集成swagger-ui的依赖-->
  124. <dependency>
  125. <groupId>io.swagger</groupId>
  126. <artifactId>swagger-annotations</artifactId>
  127. <version>1.5.21</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>io.swagger</groupId>
  131. <artifactId>swagger-models</artifactId>
  132. <version>1.5.21</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.springfox</groupId>
  136. <artifactId>springfox-swagger2</artifactId>
  137. <version>2.9.2</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.github.xiaoymin</groupId>
  141. <artifactId>swagger-bootstrap-ui</artifactId>
  142. <version>1.9.5</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.junit.jupiter</groupId>
  146. <artifactId>junit-jupiter</artifactId>
  147. <version>RELEASE</version>
  148. <scope>test</scope>
  149. </dependency>
  150. <!--导入JWT 生成token-->
  151. <dependency>
  152. <groupId>com.auth0</groupId>
  153. <artifactId>java-jwt</artifactId>
  154. <version>3.8.2</version>
  155. </dependency>
  156. </dependencies>
  157. <build>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-maven-plugin</artifactId>
  162. <configuration>
  163. <excludes>
  164. <exclude>
  165. <groupId>org.projectlombok</groupId>
  166. <artifactId>lombok</artifactId>
  167. </exclude>
  168. </excludes>
  169. <!--热启动配置-->
  170. <fork>true</fork>
  171. <addResources>true</addResources>
  172. </configuration>
  173. </plugin>
  174. </plugins>
  175. </build>
  176. </project>