pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.web.api</groupId>
  12. <artifactId>sg-answer-web</artifactId>
  13. <version>1.0.1</version>
  14. <name>sg-answer-web</name>
  15. <description>答题系统</description>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.mybatis.spring.boot</groupId>
  28. <artifactId>mybatis-spring-boot-starter</artifactId>
  29. <version>2.1.1</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-devtools</artifactId>
  34. <scope>runtime</scope>
  35. <optional>true</optional>
  36. </dependency>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. <scope>runtime</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-configuration-processor</artifactId>
  45. <optional>true</optional>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>tk.mybatis</groupId>
  54. <artifactId>mapper-spring-boot-starter</artifactId>
  55. <version>4.3.0</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.github.pagehelper</groupId>
  59. <artifactId>pagehelper-spring-boot-starter</artifactId>
  60. <version>RELEASE</version>
  61. </dependency>
  62. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>fastjson</artifactId>
  66. <version>1.2.62</version>
  67. </dependency>
  68. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-lang3</artifactId>
  72. <version>3.8.1</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.aliyun.oss</groupId>
  76. <artifactId>aliyun-sdk-oss</artifactId>
  77. <version>2.8.3</version>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.apache.httpcomponents</groupId>
  81. <artifactId>httpclient</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  86. <dependency>
  87. <groupId>org.apache.httpcomponents</groupId>
  88. <artifactId>httpclient</artifactId>
  89. <version>4.5.13</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.jsonwebtoken</groupId>
  93. <artifactId>jjwt</artifactId>
  94. <version>0.9.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-swagger2</artifactId>
  99. <version>2.9.2</version>
  100. <exclusions>
  101. <!--有bug,移除swagger-annotations和swagger-models,重新依赖其他版本-->
  102. <exclusion>
  103. <groupId>io.swagger</groupId>
  104. <artifactId>swagger-annotations</artifactId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>io.swagger</groupId>
  108. <artifactId>swagger-models</artifactId>
  109. </exclusion>
  110. </exclusions>
  111. </dependency>
  112. <!--替换swagger-annotations和swagger-models-->
  113. <dependency>
  114. <groupId>io.swagger</groupId>
  115. <artifactId>swagger-annotations</artifactId>
  116. <version>1.5.21</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.swagger</groupId>
  120. <artifactId>swagger-models</artifactId>
  121. <version>1.5.21</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>io.springfox</groupId>
  125. <artifactId>springfox-swagger-ui</artifactId>
  126. <version>2.9.2</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.github.xiaoymin</groupId>
  130. <artifactId>swagger-bootstrap-ui</artifactId>
  131. <version>1.9.3</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-test</artifactId>
  136. <scope>test</scope>
  137. <exclusions>
  138. <exclusion>
  139. <groupId>org.junit.vintage</groupId>
  140. <artifactId>junit-vintage-engine</artifactId>
  141. </exclusion>
  142. </exclusions>
  143. </dependency>
  144. <!-- https://mvnrepository.com/artifact/javax.persistence/persistence-api -->
  145. <dependency>
  146. <groupId>javax.persistence</groupId>
  147. <artifactId>persistence-api</artifactId>
  148. <version>1.0.2</version>
  149. </dependency>
  150. <!-- https://mvnrepository.com/artifact/com.gitee.qdbp.thirdparty/ueditor -->
  151. <!-- <dependency>
  152. <groupId>com.gitee.qdbp.thirdparty</groupId>
  153. <artifactId>ueditor</artifactId>
  154. <version>1.4.3.3</version>
  155. </dependency>-->
  156. <dependency>
  157. <groupId>org.json</groupId>
  158. <artifactId>json</artifactId>
  159. <version>20180130</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>commons-fileupload</groupId>
  163. <artifactId>commons-fileupload</artifactId>
  164. <version>1.3.1</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>commons-codec</groupId>
  168. <artifactId>commons-codec</artifactId>
  169. <version>1.9</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-starter-mail</artifactId>
  174. </dependency>
  175. <!--<dependency>-->
  176. <!--<groupId>cn.hutool</groupId>-->
  177. <!--<artifactId>hutool-all</artifactId>-->
  178. <!--<version>5.5.1</version>-->
  179. <!--</dependency>-->
  180. <dependency>
  181. <groupId>com.alibaba</groupId>
  182. <artifactId>easyexcel</artifactId>
  183. <version>2.1.6</version>
  184. </dependency>
  185. <!--<dependency>-->
  186. <!--<groupId>org.java-websocket</groupId>-->
  187. <!--<artifactId>Java-WebSocket</artifactId>-->
  188. <!--<version>1.5.1</version>-->
  189. <!--</dependency>-->
  190. <dependency>
  191. <groupId>com.squareup.okhttp3</groupId>
  192. <artifactId>okhttp</artifactId>
  193. <version>4.9.3</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.squareup.okhttp3</groupId>
  197. <artifactId>okhttp-sse</artifactId>
  198. <version>4.9.3</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  203. </dependency>
  204. </dependencies>
  205. <build>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.springframework.boot</groupId>
  209. <artifactId>spring-boot-maven-plugin</artifactId>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. </project>