pom.xml 7.0 KB

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