pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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. <groupId>com.chuanghai</groupId>
  6. <artifactId>student_portrait</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>student_portrait</name>
  9. <description>student_portrait</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>redis.clients</groupId>
  19. <artifactId>jedis</artifactId>
  20. <version>3.3.0</version>
  21. </dependency>
  22. <!--压缩base64的依赖-->
  23. <dependency>
  24. <groupId>net.coobird</groupId>
  25. <artifactId>thumbnailator</artifactId>
  26. <version>0.4.8</version>
  27. </dependency>
  28. <!-- 多数据源 -->
  29. <dependency>
  30. <groupId>com.baomidou</groupId>
  31. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  32. <version>3.6.0</version>
  33. </dependency>
  34. <!--redis的起步依赖-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-redis</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter</artifactId>
  42. </dependency>
  43. <!-- SpringBootweb开发起步依赖 -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-web</artifactId>
  47. <!--<scope>compile</scope>-->
  48. </dependency>
  49. <!-- Mybatis-plus起步依赖 -->
  50. <dependency>
  51. <groupId>com.baomidou</groupId>
  52. <artifactId>mybatis-plus-boot-starter</artifactId>
  53. <version>3.5.2</version>
  54. </dependency>
  55. <!-- lombok -->
  56. <dependency>
  57. <groupId>org.projectlombok</groupId>
  58. <artifactId>lombok</artifactId>
  59. <version>1.18.24</version>
  60. <scope>provided</scope>
  61. </dependency>
  62. <!-- fastjson -->
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>fastjson</artifactId>
  66. <version>2.0.12</version>
  67. </dependency>
  68. <!-- commons工具组件 -->
  69. <dependency>
  70. <groupId>commons-lang</groupId>
  71. <artifactId>commons-lang</artifactId>
  72. <version>2.6</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-fileupload</groupId>
  76. <artifactId>commons-fileupload</artifactId>
  77. <version>1.4</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-io</groupId>
  81. <artifactId>commons-io</artifactId>
  82. <version>2.6</version>
  83. </dependency>
  84. <!-- MySQL数据库连接驱动 -->
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. <version>8.0.17</version>
  89. </dependency>
  90. <!-- druid起步依赖 -->
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>druid-spring-boot-starter</artifactId>
  94. <version>1.1.22</version>
  95. </dependency>
  96. <!-- 集成easypoi组件 .导出excel http://easypoi.mydoc.io/ -->
  97. <dependency>
  98. <groupId>cn.afterturn</groupId>
  99. <artifactId>easypoi-base</artifactId>
  100. <version>3.2.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>cn.afterturn</groupId>
  104. <artifactId>easypoi-web</artifactId>
  105. <version>3.2.0</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>cn.afterturn</groupId>
  109. <artifactId>easypoi-annotation</artifactId>
  110. <version>3.2.0</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>easyexcel</artifactId>
  115. <version>2.1.6</version>
  116. </dependency>
  117. <!-- 用于执行python脚本-->
  118. <dependency>
  119. <groupId>org.python</groupId>
  120. <artifactId>jython-standalone</artifactId>
  121. <version>2.7.2</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.eclipse.jetty</groupId>
  125. <artifactId>jetty-alpn-client</artifactId>
  126. </dependency>
  127. <!-- swagger -->
  128. <dependency>
  129. <groupId>io.springfox</groupId>
  130. <artifactId>springfox-spring-web</artifactId>
  131. <version>3.0.0</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.springfox</groupId>
  135. <artifactId>springfox-swagger2</artifactId>
  136. <version>3.0.0</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>io.springfox</groupId>
  140. <artifactId>springfox-swagger-ui</artifactId>
  141. <version>2.9.2</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.httpcomponents</groupId>
  145. <artifactId>httpclient</artifactId>
  146. <version>4.5.13</version>
  147. </dependency>
  148. <!-- log4j-->
  149. <dependency>
  150. <groupId>log4j</groupId>
  151. <artifactId>log4j</artifactId>
  152. <version>1.2.12</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-test</artifactId>
  157. <scope>test</scope>
  158. <exclusions>
  159. <exclusion>
  160. <groupId>org.junit.vintage</groupId>
  161. <artifactId>junit-vintage-engine</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.jayway.jsonpath</groupId>
  167. <artifactId>json-path</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.hibernate.validator</groupId>
  171. <artifactId>hibernate-validator</artifactId>
  172. <version>6.2.3.Final</version>
  173. </dependency>
  174. <!--引入JWT-->
  175. <dependency>
  176. <groupId>com.auth0</groupId>
  177. <artifactId>java-jwt</artifactId>
  178. <version>3.10.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>io.jsonwebtoken</groupId>
  182. <artifactId>jjwt</artifactId>
  183. <version>0.9.1</version>
  184. </dependency>
  185. </dependencies>
  186. <dependencyManagement>
  187. <dependencies>
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-dependencies</artifactId>
  191. <version>${spring-boot.version}</version>
  192. <type>pom</type>
  193. <scope>import</scope>
  194. </dependency>
  195. </dependencies>
  196. </dependencyManagement>
  197. <build>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-compiler-plugin</artifactId>
  202. <version>3.8.1</version>
  203. <configuration>
  204. <source>1.8</source>
  205. <target>1.8</target>
  206. <encoding>UTF-8</encoding>
  207. </configuration>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.springframework.boot</groupId>
  211. <artifactId>spring-boot-maven-plugin</artifactId>
  212. <version>2.3.7.RELEASE</version>
  213. <configuration>
  214. <mainClass>com.chuanghai.student_portrait.StudentPortraitApplication</mainClass>
  215. </configuration>
  216. <executions>
  217. <execution>
  218. <id>repackage</id>
  219. <goals>
  220. <goal>repackage</goal>
  221. </goals>
  222. </execution>
  223. </executions>
  224. </plugin>
  225. </plugins>
  226. <!-- &lt;!&ndash; 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 &ndash;&gt;-->
  227. <!-- <resources>-->
  228. <!-- <resource>-->
  229. <!-- <directory>src/main/java</directory>-->
  230. <!-- <includes>-->
  231. <!-- <include>**/*.properties</include>-->
  232. <!-- <include>**/*.xml</include>-->
  233. <!-- </includes>-->
  234. <!-- <filtering>false</filtering>-->
  235. <!-- </resource>-->
  236. <!-- <resource>-->
  237. <!-- <directory>src/main/resources</directory>-->
  238. <!-- <includes>-->
  239. <!-- <include>**/*.properties</include>-->
  240. <!-- <include>**/*.xml</include>-->
  241. <!-- </includes>-->
  242. <!-- <filtering>false</filtering>-->
  243. <!-- </resource>-->
  244. <!-- </resources>-->
  245. </build>
  246. </project>