pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>edu.math</groupId>
  7. <artifactId>diagnosis</artifactId>
  8. <version>1.0</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <java.version>1.8</java.version>
  14. <docker.plugin.version>1.0.0</docker.plugin.version>
  15. <docker.host>http://www.yaoxiangedu.com:23750</docker.host>
  16. </properties>
  17. <parent>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-parent</artifactId>
  20. <version>2.1.7.RELEASE</version>
  21. <relativePath/>
  22. </parent>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-tomcat</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-undertow</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-jpa</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-security</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-data-redis</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.session</groupId>
  56. <artifactId>spring-session-data-redis</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-actuator</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.aliyun.oss</groupId>
  69. <artifactId>aliyun-sdk-oss</artifactId>
  70. <version>2.8.3</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>mysql</groupId>
  74. <artifactId>mysql-connector-java</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>net.sourceforge.nekohtml</groupId>
  78. <artifactId>nekohtml</artifactId>
  79. <version>1.9.15</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.springfox</groupId>
  83. <artifactId>springfox-swagger2</artifactId>
  84. <version>2.8.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger-ui</artifactId>
  89. <version>2.8.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.google.code.gson</groupId>
  93. <artifactId>gson</artifactId>
  94. <version>2.8.5</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-lang3</artifactId>
  99. <version>3.7</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.deepoove</groupId>
  103. <artifactId>poi-tl</artifactId>
  104. <version>1.2.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.poi</groupId>
  108. <artifactId>poi</artifactId>
  109. <version>3.17</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.poi</groupId>
  113. <artifactId>poi-ooxml</artifactId>
  114. <version>3.17</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>fr.opensagres.xdocreport</groupId>
  118. <artifactId>xdocreport</artifactId>
  119. <version>2.0.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.poi</groupId>
  123. <artifactId>ooxml-schemas</artifactId>
  124. <version>1.3</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>net.sourceforge.jeuclid</groupId>
  128. <artifactId>jeuclid-core</artifactId>
  129. <version>3.1.9</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>commons-io</groupId>
  133. <artifactId>commons-io</artifactId>
  134. <version>2.6</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.commons</groupId>
  138. <artifactId>commons-pool2</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>io.minio</groupId>
  142. <artifactId>minio</artifactId>
  143. <version>6.0.11</version>
  144. </dependency>
  145. <!-- https://mvnrepository.com/artifact/org.freehep/freehep-graphicsio -->
  146. <!-- <dependency>-->
  147. <!-- <groupId>org.freehep</groupId>-->
  148. <!-- <artifactId>freehep-graphicsio</artifactId>-->
  149. <!-- <version>2.4</version>-->
  150. <!-- </dependency>-->
  151. <!-- https://mvnrepository.com/artifact/org.freehep/freehep-graphicsio-emf -->
  152. <dependency>
  153. <groupId>org.freehep</groupId>
  154. <artifactId>freehep-graphicsio-emf</artifactId>
  155. <version>2.4</version>
  156. <scope>test</scope>
  157. </dependency>
  158. <!-- https://mvnrepository.com/artifact/org.freehep/freehep-graphicsio-svg -->
  159. <dependency>
  160. <groupId>org.freehep</groupId>
  161. <artifactId>freehep-graphicsio-svg</artifactId>
  162. <version>2.4</version>
  163. <scope>test</scope>
  164. </dependency>
  165. </dependencies>
  166. <build>
  167. <finalName>${project.artifactId}</finalName>
  168. <plugins>
  169. <plugin>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-maven-plugin</artifactId>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-compiler-plugin</artifactId>
  176. <configuration>
  177. <source>${java.version}</source>
  178. <target>${java.version}</target>
  179. </configuration>
  180. </plugin>
  181. <plugin>
  182. <groupId>com.spotify</groupId>
  183. <artifactId>docker-maven-plugin</artifactId>
  184. <version>${docker.plugin.version}</version>
  185. <executions>
  186. <!--执行 mvn package 时 自动 执行 mvn docker:build-->
  187. <!--<execution>-->
  188. <!--<id>build-image</id>-->
  189. <!--<phase>package</phase>-->
  190. <!--<goals>-->
  191. <!--<goal>build</goal>-->
  192. <!--</goals>-->
  193. <!--</execution>-->
  194. </executions>
  195. <configuration>
  196. <imageName>${project.artifactId}</imageName>
  197. <imageTags>${project.version}</imageTags>
  198. <dockerHost>${docker.host}</dockerHost>
  199. <dockerDirectory>.</dockerDirectory>
  200. <resources>
  201. <resource>
  202. <targetPath>/</targetPath>
  203. <directory>${project.build.directory}</directory>
  204. <include>${project.build.finalName}.jar</include>
  205. </resource>
  206. </resources>
  207. </configuration>
  208. </plugin>
  209. </plugins>
  210. </build>
  211. </project>