pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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>com.yaoxiang</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. <exclusions>
  86. <exclusion>
  87. <groupId>io.swagger</groupId>
  88. <artifactId>swagger-models</artifactId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.swagger</groupId>
  94. <artifactId>swagger-models</artifactId>
  95. <version>1.5.21</version>
  96. </dependency>
  97. <!-- <dependency>-->
  98. <!-- <groupId>io.springfox</groupId>-->
  99. <!-- <artifactId>springfox-swagger-ui</artifactId>-->
  100. <!-- <version>2.8.0</version>-->
  101. <!-- </dependency>-->
  102. <dependency>
  103. <groupId>com.google.code.gson</groupId>
  104. <artifactId>gson</artifactId>
  105. <version>2.8.5</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.commons</groupId>
  109. <artifactId>commons-lang3</artifactId>
  110. <version>3.7</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.deepoove</groupId>
  114. <artifactId>poi-tl</artifactId>
  115. <version>1.2.0</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.poi</groupId>
  119. <artifactId>poi</artifactId>
  120. <version>3.17</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.poi</groupId>
  124. <artifactId>poi-ooxml</artifactId>
  125. <version>3.17</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>fr.opensagres.xdocreport</groupId>
  129. <artifactId>xdocreport</artifactId>
  130. <version>2.0.1</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.poi</groupId>
  134. <artifactId>ooxml-schemas</artifactId>
  135. <version>1.3</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>net.sourceforge.jeuclid</groupId>
  139. <artifactId>jeuclid-core</artifactId>
  140. <version>3.1.9</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>commons-io</groupId>
  144. <artifactId>commons-io</artifactId>
  145. <version>2.6</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.commons</groupId>
  149. <artifactId>commons-pool2</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>io.minio</groupId>
  153. <artifactId>minio</artifactId>
  154. <version>6.0.11</version>
  155. </dependency>
  156. <!-- https://mvnrepository.com/artifact/org.freehep/freehep-graphicsio -->
  157. <!-- <dependency>-->
  158. <!-- <groupId>org.freehep</groupId>-->
  159. <!-- <artifactId>freehep-graphicsio</artifactId>-->
  160. <!-- <version>2.4</version>-->
  161. <!-- </dependency>-->
  162. <!-- https://mvnrepository.com/artifact/org.freehep/freehep-graphicsio-emf -->
  163. <!-- <dependency>-->
  164. <!-- <groupId>org.freehep</groupId>-->
  165. <!-- <artifactId>freehep-graphicsio-emf</artifactId>-->
  166. <!-- <version>2.4</version>-->
  167. <!-- <scope>test</scope>-->
  168. <!-- </dependency>-->
  169. <!-- https://mvnrepository.com/artifact/org.freehep/freehep-graphicsio-svg -->
  170. <!-- <dependency>-->
  171. <!-- <groupId>org.freehep</groupId>-->
  172. <!-- <artifactId>freehep-graphicsio-svg</artifactId>-->
  173. <!-- <version>2.4</version>-->
  174. <!-- <scope>test</scope>-->
  175. <!-- </dependency>-->
  176. <dependency>
  177. <groupId>com.github.xiaoymin</groupId>
  178. <artifactId>swagger-bootstrap-ui</artifactId>
  179. <version>1.9.6</version>
  180. </dependency>
  181. <!-- https://mvnrepository.com/artifact/com.github.xiaoymin/knife4j-spring-boot-starter -->
  182. <!-- <dependency>-->
  183. <!-- <groupId>com.github.xiaoymin</groupId>-->
  184. <!-- <artifactId>knife4j-spring-boot-starter</artifactId>-->
  185. <!-- <version>2.0.1</version>-->
  186. <!-- </dependency>-->
  187. <dependency>
  188. <groupId>com.alibaba</groupId>
  189. <artifactId>druid</artifactId>
  190. <version>1.1.21</version>
  191. </dependency>
  192. </dependencies>
  193. <build>
  194. <finalName>${project.artifactId}</finalName>
  195. <plugins>
  196. <plugin>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-maven-plugin</artifactId>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-compiler-plugin</artifactId>
  203. <configuration>
  204. <source>${java.version}</source>
  205. <target>${java.version}</target>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <groupId>com.spotify</groupId>
  210. <artifactId>docker-maven-plugin</artifactId>
  211. <version>${docker.plugin.version}</version>
  212. <executions>
  213. <!--执行 mvn package 时 自动 执行 mvn docker:build-->
  214. <!--<execution>-->
  215. <!--<id>build-image</id>-->
  216. <!--<phase>package</phase>-->
  217. <!--<goals>-->
  218. <!--<goal>build</goal>-->
  219. <!--</goals>-->
  220. <!--</execution>-->
  221. </executions>
  222. <configuration>
  223. <imageName>${project.artifactId}</imageName>
  224. <imageTags>${project.version}</imageTags>
  225. <dockerHost>${docker.host}</dockerHost>
  226. <dockerDirectory>.</dockerDirectory>
  227. <resources>
  228. <resource>
  229. <targetPath>/</targetPath>
  230. <directory>${project.build.directory}</directory>
  231. <include>${project.build.finalName}.jar</include>
  232. </resource>
  233. </resources>
  234. </configuration>
  235. </plugin>
  236. </plugins>
  237. </build>
  238. </project>