pom.xml 8.4 KB

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