pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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.9.2</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. <dependency>
  166. <groupId>com.github.xiaoymin</groupId>
  167. <artifactId>swagger-bootstrap-ui</artifactId>
  168. <version>1.9.6</version>
  169. </dependency>
  170. <!-- https://mvnrepository.com/artifact/com.github.xiaoymin/knife4j-spring-boot-starter -->
  171. <!-- <dependency>-->
  172. <!-- <groupId>com.github.xiaoymin</groupId>-->
  173. <!-- <artifactId>knife4j-spring-boot-starter</artifactId>-->
  174. <!-- <version>2.0.1</version>-->
  175. <!-- </dependency>-->
  176. <dependency>
  177. <groupId>com.alibaba</groupId>
  178. <artifactId>druid</artifactId>
  179. <version>1.1.21</version>
  180. </dependency>
  181. </dependencies>
  182. <build>
  183. <finalName>${project.artifactId}</finalName>
  184. <plugins>
  185. <plugin>
  186. <groupId>org.springframework.boot</groupId>
  187. <artifactId>spring-boot-maven-plugin</artifactId>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-compiler-plugin</artifactId>
  192. <configuration>
  193. <source>${java.version}</source>
  194. <target>${java.version}</target>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <groupId>com.spotify</groupId>
  199. <artifactId>docker-maven-plugin</artifactId>
  200. <version>${docker.plugin.version}</version>
  201. <executions>
  202. <!--执行 mvn package 时 自动 执行 mvn docker:build-->
  203. <!--<execution>-->
  204. <!--<id>build-image</id>-->
  205. <!--<phase>package</phase>-->
  206. <!--<goals>-->
  207. <!--<goal>build</goal>-->
  208. <!--</goals>-->
  209. <!--</execution>-->
  210. </executions>
  211. <configuration>
  212. <imageName>${project.artifactId}</imageName>
  213. <imageTags>${project.version}</imageTags>
  214. <dockerHost>${docker.host}</dockerHost>
  215. <dockerDirectory>.</dockerDirectory>
  216. <resources>
  217. <resource>
  218. <targetPath>/</targetPath>
  219. <directory>${project.build.directory}</directory>
  220. <include>${project.build.finalName}.jar</include>
  221. </resource>
  222. </resources>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. </build>
  227. </project>