pom.xml 19 KB

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