pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.miniframe</groupId>
  12. <artifactId>miniframe</artifactId>
  13. <version>1.0.0</version>
  14. <name>miniframe</name>
  15. <description>miniframe</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <timestamp>${maven.build.timestamp}</timestamp>
  20. <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
  21. <maven.resources.overwrite>true</maven.resources.overwrite>
  22. <spring-cloud.version>2020.0.4</spring-cloud.version>
  23. </properties>
  24. <dependencies>
  25. <!-- nacos 依赖 -->
  26. <!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-discovery -->
  27. <!-- <dependency>-->
  28. <!-- <groupId>com.alibaba.cloud</groupId>-->
  29. <!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
  30. <!-- <version>2.2.7.RELEASE</version>-->
  31. <!-- <exclusions>-->
  32. <!-- <exclusion>-->
  33. <!-- <groupId>org.springframework.cloud</groupId>-->
  34. <!-- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>-->
  35. <!-- </exclusion>-->
  36. <!-- </exclusions>-->
  37. <!-- </dependency>-->
  38. <dependency>
  39. <groupId>com.itextpdf</groupId>
  40. <artifactId>itext7-core</artifactId>
  41. <version>7.1.16</version>
  42. <type>pom</type>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.itextpdf</groupId>
  46. <artifactId>html2pdf</artifactId>
  47. <version>3.0.4</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.itextpdf</groupId>
  51. <artifactId>itext-asian</artifactId>
  52. <version>5.2.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.google.guava</groupId>
  56. <artifactId>guava</artifactId>
  57. <version>21.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-loadbalancer</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.cloud</groupId>
  65. <artifactId>spring-cloud-starter-openfeign</artifactId>
  66. </dependency>
  67. <!-- https://mvnrepository.com/artifact/io.github.openfeign/feign-httpclient -->
  68. <dependency>
  69. <groupId>io.github.openfeign</groupId>
  70. <artifactId>feign-httpclient</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-actuator</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-autoconfigure</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-web</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-configuration-processor</artifactId>
  87. <optional>true</optional>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-aop</artifactId>
  92. </dependency>
  93. <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
  94. <dependency>
  95. <groupId>org.springframework</groupId>
  96. <artifactId>spring-context-support</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-quartz</artifactId>
  105. </dependency>
  106. <!-- redis缓存 -->
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-data-redis</artifactId>
  110. </dependency>
  111. <!-- ehcache缓存 -->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-cache</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>net.sf.ehcache</groupId>
  118. <artifactId>ehcache</artifactId>
  119. <version>${ehcache.version}</version>
  120. </dependency>
  121. <!-- RabbitMq -->
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-starter-amqp</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.projectlombok</groupId>
  128. <artifactId>lombok</artifactId>
  129. </dependency>
  130. <!-- <dependency>-->
  131. <!-- <groupId>org.springframework.boot</groupId>-->
  132. <!-- <artifactId>spring-boot-starter-validation</artifactId>-->
  133. <!-- </dependency>-->
  134. <!-- 需要指定版本 -->
  135. <!-- miniframe框架 -->
  136. <dependency>
  137. <groupId>com.miniframe</groupId>
  138. <artifactId>miniframe-spring-boot-starter</artifactId>
  139. <version>2.1.0</version>
  140. <exclusions>
  141. <exclusion>
  142. <artifactId>poi</artifactId>
  143. <groupId>org.apache.poi</groupId>
  144. </exclusion>
  145. <exclusion>
  146. <groupId>javax.mail</groupId>
  147. <artifactId>mail</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.sun.mail</groupId>
  153. <artifactId>javax.mail</artifactId>
  154. <version>1.6.2</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.miniframe</groupId>
  158. <artifactId>miniframe-spring-boot-ext</artifactId>
  159. <version>2.1.0</version>
  160. </dependency>
  161. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-core -->
  162. <dependency>
  163. <groupId>com.aliyun</groupId>
  164. <artifactId>aliyun-java-sdk-core</artifactId>
  165. <version>4.5.20</version>
  166. <exclusions>
  167. <exclusion>
  168. <artifactId>commons-logging</artifactId>
  169. <groupId>commons-logging</groupId>
  170. </exclusion>
  171. </exclusions>
  172. </dependency>
  173. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-cloudauth -->
  174. <dependency>
  175. <groupId>com.aliyun</groupId>
  176. <artifactId>aliyun-java-sdk-cloudauth</artifactId>
  177. <version>2.0.29</version>
  178. <exclusions>
  179. <exclusion>
  180. <artifactId>commons-logging</artifactId>
  181. <groupId>commons-logging</groupId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  186. <dependency>
  187. <groupId>com.alipay.sdk</groupId>
  188. <artifactId>alipay-sdk-java</artifactId>
  189. <version>3.4.27.ALL</version>
  190. <exclusions>
  191. <exclusion>
  192. <artifactId>commons-logging</artifactId>
  193. <groupId>commons-logging</groupId>
  194. </exclusion>
  195. </exclusions>
  196. </dependency>
  197. <!-- 自定义lib库 -->
  198. <!-- <dependency>-->
  199. <!-- <groupId>miniframe</groupId>-->
  200. <!-- <artifactId>ibatis</artifactId>-->
  201. <!-- <version>2.9.1</version>-->
  202. <!-- <scope>system</scope>-->
  203. <!-- <systemPath>${project.basedir}/lib/ibatis-2.9.1.jar</systemPath>-->
  204. <!-- </dependency>-->
  205. <dependency>
  206. <groupId>com.taobao</groupId>
  207. <artifactId>taobao-sdk-java-auto</artifactId>
  208. <version>1.0.0</version>
  209. <scope>system</scope>
  210. <systemPath>${project.basedir}/lib/taobao-sdk-java-auto.jar</systemPath>
  211. </dependency>
  212. <!-- <dependency>-->
  213. <!-- <groupId>com.taobao</groupId>-->
  214. <!-- <artifactId>taobao-sdk-java-auto</artifactId>-->
  215. <!-- <version>1.0.0</version>-->
  216. <!-- </dependency>-->
  217. <!--全局排除spring-boot-starter-logging内的所有依赖-->
  218. <dependency>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-starter-logging</artifactId>
  221. <exclusions>
  222. <exclusion>
  223. <groupId>*</groupId>
  224. <artifactId>*</artifactId>
  225. </exclusion>
  226. </exclusions>
  227. </dependency>
  228. <!--热启动-->
  229. <!-- <dependency>-->
  230. <!-- <groupId>org.springframework.boot</groupId>-->
  231. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  232. <!-- <optional>true</optional> &lt;!&ndash; 这个需要为 true 热部署才有效 &ndash;&gt;-->
  233. <!-- </dependency>-->
  234. <!-- Test-->
  235. <dependency>
  236. <groupId>org.springframework.boot</groupId>
  237. <artifactId>spring-boot-starter-test</artifactId>
  238. <exclusions>
  239. <exclusion>
  240. <groupId>org.ow2.asm</groupId>
  241. <artifactId>asm</artifactId>
  242. </exclusion>
  243. </exclusions>
  244. <scope>test</scope>
  245. </dependency>
  246. <!-- <dependency>-->
  247. <!-- <groupId>com.aliyun</groupId>-->
  248. <!-- <artifactId>dysmsapi20170525</artifactId>-->
  249. <!-- <version>2.0.9</version>-->
  250. <!-- </dependency>-->
  251. <dependency>
  252. <groupId>adi</groupId>
  253. <artifactId>vtk</artifactId>
  254. <version>1.0.0</version>
  255. </dependency>
  256. <!-- websocket -->
  257. <dependency>
  258. <groupId>org.springframework.boot</groupId>
  259. <artifactId>spring-boot-starter-websocket</artifactId>
  260. </dependency>
  261. <!--添加FreeMarker的依赖 ,版本是 2.3.29-->
  262. <dependency>
  263. <groupId>org.freemarker</groupId>
  264. <artifactId>freemarker</artifactId>
  265. <version>2.3.29</version>
  266. </dependency>
  267. <!--报告生成-->
  268. <dependency>
  269. <groupId>org.apache.logging.log4j</groupId>
  270. <artifactId>log4j-core</artifactId>
  271. <scope>compile</scope>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.deepoove</groupId>
  275. <artifactId>poi-tl</artifactId>
  276. <version>1.12.0</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.poi</groupId>
  280. <artifactId>poi</artifactId>
  281. <version>5.2.2</version>
  282. <scope>compile</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.poi</groupId>
  286. <artifactId>poi-ooxml</artifactId>
  287. <version>5.2.2</version>
  288. <exclusions>
  289. <exclusion>
  290. <artifactId>poi</artifactId>
  291. <groupId>org.apache.poi</groupId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <dependency>
  296. <groupId>com.github.docker-java</groupId>
  297. <artifactId>docker-java</artifactId>
  298. <version>3.2.13</version> <!-- 请检查最新版本 -->
  299. </dependency>
  300. <dependency>
  301. <groupId>com.github.docker-java</groupId>
  302. <artifactId>docker-java-transport-httpclient5</artifactId>
  303. <version>3.2.13</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>com.aliyun</groupId>
  307. <artifactId>dysmsapi20170525</artifactId>
  308. <version>2.0.9</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.hdfgroup</groupId>
  312. <artifactId>hdf-java</artifactId>
  313. <version>2.6.1</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>com.alibaba</groupId>
  317. <artifactId>easyexcel</artifactId>
  318. <version>4.0.2</version>
  319. </dependency>
  320. </dependencies>
  321. <dependencyManagement>
  322. <dependencies>
  323. <dependency>
  324. <groupId>org.springframework.cloud</groupId>
  325. <artifactId>spring-cloud-dependencies</artifactId>
  326. <version>${spring-cloud.version}</version>
  327. <type>pom</type>
  328. <scope>import</scope>
  329. </dependency>
  330. </dependencies>
  331. </dependencyManagement>
  332. <build>
  333. <resources>
  334. <resource>
  335. <directory>src/main/resources</directory>
  336. <filtering>true</filtering>
  337. <excludes>
  338. <exclude>**/*.ttf</exclude>
  339. <exclude>**/*.ttc</exclude>
  340. </excludes>
  341. </resource>
  342. </resources>
  343. <finalName>service</finalName>
  344. <plugins>
  345. <!-- 指定多个源代码目录、多个资源文件目录 -->
  346. <plugin>
  347. <groupId>org.codehaus.mojo</groupId>
  348. <artifactId>build-helper-maven-plugin</artifactId>
  349. <executions>
  350. <execution>
  351. <id>add-ext-source</id>
  352. <phase>generate-sources</phase>
  353. <goals>
  354. <goal>add-source</goal>
  355. </goals>
  356. <configuration>
  357. <sources>
  358. <source>modelsrc</source>
  359. <source>definitionsrc</source>
  360. <source>generated</source>
  361. </sources>
  362. </configuration>
  363. </execution>
  364. <execution>
  365. <id>add-ext-resouce</id>
  366. <phase>generate-resources</phase>
  367. <goals>
  368. <goal>add-resource</goal>
  369. </goals>
  370. <configuration>
  371. <resources>
  372. <resource>
  373. <directory>modelsrc</directory>
  374. <exclude>**/*.java</exclude>
  375. </resource>
  376. <resource>
  377. <directory>commonsrc</directory>
  378. <exclude>**/*.java</exclude>
  379. </resource>
  380. <resource>
  381. <directory>generated</directory>
  382. <exclude>**/*.java</exclude>
  383. </resource>
  384. <resource>
  385. <directory>definitionsrc</directory>
  386. <exclude>**/*.java</exclude>
  387. </resource>
  388. <resource>
  389. <directory>profiles/${profiles.active}</directory>
  390. <exclude>**/*.java</exclude>
  391. </resource>
  392. </resources>
  393. </configuration>
  394. </execution>
  395. </executions>
  396. </plugin>
  397. <plugin>
  398. <groupId>org.springframework.boot</groupId>
  399. <artifactId>spring-boot-maven-plugin</artifactId>
  400. <configuration>
  401. <fork>true</fork>
  402. <addResources>true</addResources>
  403. <includeSystemScope>true</includeSystemScope>
  404. </configuration>
  405. </plugin>
  406. <plugin>
  407. <groupId>org.apache.maven.plugins</groupId>
  408. <artifactId>maven-resources-plugin</artifactId>
  409. <!--使用默认的变量分割符即${} ,覆盖已有的resource文件-->
  410. <configuration>
  411. <useDefaultDelimiters>true</useDefaultDelimiters>
  412. <overwrite>true</overwrite>
  413. <nonFilteredFileExtensions>
  414. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  415. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  416. </nonFilteredFileExtensions>
  417. </configuration>
  418. </plugin>
  419. </plugins>
  420. </build>
  421. <profiles>
  422. <profile>
  423. <!-- 生产环境 -->
  424. <id>pro</id>
  425. <properties>
  426. <profiles.active>pro</profiles.active>
  427. </properties>
  428. </profile>
  429. <profile>
  430. <!-- 本地开发环境 -->
  431. <id>dev</id>
  432. <properties>
  433. <profiles.active>dev</profiles.active>
  434. </properties>
  435. <activation>
  436. <activeByDefault>true</activeByDefault>
  437. </activation>
  438. </profile>
  439. <profile>
  440. <!-- 测试环境 -->
  441. <id>test</id>
  442. <properties>
  443. <profiles.active>test</profiles.active>
  444. </properties>
  445. </profile>
  446. </profiles>
  447. <repositories>
  448. <repository>
  449. <id>aliyun</id>
  450. <name>aliyun</name>
  451. <url>https://maven.aliyun.com/repository/public</url>
  452. </repository>
  453. <repository>
  454. <id>spring</id>
  455. <url>https://maven.aliyun.com/repository/spring</url>
  456. <releases>
  457. <enabled>true</enabled>
  458. </releases>
  459. <snapshots>
  460. <enabled>true</enabled>
  461. </snapshots>
  462. </repository>
  463. <repository>
  464. <id>spring-plugin</id>
  465. <url>https://maven.aliyun.com/repository/spring-plugin</url>
  466. <releases>
  467. <enabled>true</enabled>
  468. </releases>
  469. <snapshots>
  470. <enabled>true</enabled>
  471. </snapshots>
  472. </repository>
  473. </repositories>
  474. </project>