pom.xml 18 KB

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