pom.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  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.7.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.xjrsoft</groupId>
  12. <artifactId>xjrsoft-boot</artifactId>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <name>xjrsoft-boot</name>
  15. <description>xjrsoft-boot</description>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>11</java.version>
  20. <commons.lang.version>2.6</commons.lang.version>
  21. <commons.fileupload.version>1.5</commons.fileupload.version>
  22. <commons.io.version>2.5</commons.io.version>
  23. <commons.codec.version>1.10</commons.codec.version>
  24. <commons.configuration.version>1.10</commons.configuration.version>
  25. <hutool.version>5.7.20</hutool.version>
  26. <satoken.version>1.35.0.RC</satoken.version>
  27. <lombok.version>1.18.4</lombok.version>
  28. <fastjson.version>1.2.83</fastjson.version>
  29. <joda.time.version>2.9.9</joda.time.version>
  30. <gson.version>2.8.5</gson.version>
  31. <mybatisplus.join.version>1.4.2.2</mybatisplus.join.version>
  32. <mybatisplus.version>3.5.1</mybatisplus.version>
  33. <mybatisplus.generator.version>3.5.2</mybatisplus.generator.version>
  34. <mybatisplus.dynamic.version>3.5.2</mybatisplus.dynamic.version>
  35. <druid.version>1.1.22</druid.version>
  36. <knife4j.version>2.0.7</knife4j.version>
  37. <freemarker.version>2.3.30</freemarker.version>
  38. <hibernatevalidator.version>6.0.13.Final</hibernatevalidator.version>
  39. <qiniu.version>7.2.23</qiniu.version>
  40. <aliyun.oss.version>2.8.3</aliyun.oss.version>
  41. <qcloud.cos.version>4.4</qcloud.cos.version>
  42. <huawei.obs.version>3.19.7</huawei.obs.version>
  43. <minio.oss.version>7.1.0</minio.oss.version>
  44. <jaxb.api.version>2.3.0</jaxb.api.version>
  45. <log4j.core.version>2.17.2</log4j.core.version>
  46. <screw.version>1.0.5</screw.version>
  47. <ureport.version>2.2.9</ureport.version>
  48. <camunda.version>7.18.0</camunda.version>
  49. <groovy.version>3.0.17</groovy.version>
  50. <javax.mail.version>1.6.2</javax.mail.version>
  51. <magic.api.version>2.1.1</magic.api.version>
  52. <keycloak.version>20.0.1</keycloak.version>
  53. <aliyun.core.version>4.5.1</aliyun.core.version>
  54. <tencentcloud.version>3.1.62</tencentcloud.version>
  55. <chatgpt.java.version>1.0.6</chatgpt.java.version>
  56. <okio.version>3.3.0</okio.version>
  57. <easyexcel.version>3.1.4</easyexcel.version>
  58. <poi.version>3.17</poi.version>
  59. <ooxml.schemas.version>1.3</ooxml.schemas.version>
  60. <javassist.version>3.29.2-GA</javassist.version>
  61. <microsoft.version>8.4.1.jre8</microsoft.version>
  62. <pinyin4j.version>2.5.1</pinyin4j.version>
  63. <sms4j.version>2.1.0</sms4j.version>
  64. <license.version>2.0</license.version>
  65. <justauth.version>1.16.5</justauth.version>
  66. <dingtalk.version>2.0.26</dingtalk.version>
  67. <version.tomcat>9.0.71</version.tomcat>
  68. <easy.captcha.version>1.6.2</easy.captcha.version>
  69. <paho.mqttv5.version>1.2.5</paho.mqttv5.version>
  70. <liteflow.version>2.11.2</liteflow.version>
  71. </properties>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-data-redis</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.eclipse.paho</groupId>
  88. <artifactId>org.eclipse.paho.mqttv5.client</artifactId>
  89. <version>${paho.mqttv5.version}</version>
  90. </dependency>
  91. <!--规则引擎-->
  92. <dependency>
  93. <groupId>com.yomahub</groupId>
  94. <artifactId>liteflow-spring-boot-starter</artifactId>
  95. <version>${liteflow.version}</version>
  96. <exclusions>
  97. <exclusion>
  98. <groupId>cn.hutool</groupId>
  99. <artifactId>hutool-core</artifactId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. <!--Java图形验证码,支持gif、中文、算术等类型:https://gitee.com/ele-admin/EasyCaptcha-->
  104. <dependency>
  105. <groupId>com.github.whvcse</groupId>
  106. <artifactId>easy-captcha</artifactId>
  107. <version>${easy.captcha.version}</version>
  108. </dependency>
  109. <!--引入MySql依赖-->
  110. <dependency>
  111. <groupId>mysql</groupId>
  112. <artifactId>mysql-connector-java</artifactId>
  113. </dependency>
  114. <!--引入oracle依赖-->
  115. <dependency>
  116. <groupId>com.oracle</groupId>
  117. <artifactId>ojdbc7</artifactId>
  118. <version>12.1.0.1.0</version>
  119. <scope>system</scope>
  120. <systemPath>${project.basedir}/src/main/resources/lib/ojdbc7.jar</systemPath>
  121. </dependency>
  122. <!--引入sqlserver依赖-->
  123. <dependency>
  124. <groupId>com.microsoft.sqlserver</groupId>
  125. <artifactId>mssql-jdbc</artifactId>
  126. <version>${microsoft.version}</version>
  127. </dependency>
  128. <!--引入hutool依赖-->
  129. <dependency>
  130. <groupId>cn.hutool</groupId>
  131. <artifactId>hutool-all</artifactId>
  132. <version>${hutool.version}</version>
  133. </dependency>
  134. <!--引入hutool依赖 邮件依赖-->
  135. <dependency>
  136. <groupId>com.sun.mail</groupId>
  137. <artifactId>javax.mail</artifactId>
  138. <version>${javax.mail.version}</version>
  139. </dependency>
  140. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  141. <dependency>
  142. <groupId>cn.dev33</groupId>
  143. <artifactId>sa-token-spring-boot-starter</artifactId>
  144. <version>${satoken.version}</version>
  145. </dependency>
  146. <!-- Sa-Token 整合 Redis (使用jdk默认序列化方式) -->
  147. <!-- <dependency>-->
  148. <!-- <groupId>cn.dev33</groupId>-->
  149. <!-- <artifactId>sa-token-dao-redis</artifactId>-->
  150. <!-- <version>${satoken.version}</version>-->
  151. <!-- </dependency>-->
  152. <dependency>
  153. <groupId>cn.dev33</groupId>
  154. <artifactId>sa-token-redis</artifactId>
  155. <version>${satoken.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>cn.dev33</groupId>
  159. <artifactId>sa-token-temp-jwt</artifactId>
  160. <version>${satoken.version}</version>
  161. </dependency>
  162. <!-- Sa-Token-OAuth2.0 模块 -->
  163. <dependency>
  164. <groupId>cn.dev33</groupId>
  165. <artifactId>sa-token-oauth2</artifactId>
  166. <version>${satoken.version}</version>
  167. </dependency>
  168. <!--引入Lombok依赖-->
  169. <dependency>
  170. <groupId>org.projectlombok</groupId>
  171. <artifactId>lombok</artifactId>
  172. <version>${lombok.version}</version>
  173. <optional>true</optional>
  174. </dependency>
  175. <!--引入mybatis-plus依赖-->
  176. <dependency>
  177. <groupId>com.baomidou</groupId>
  178. <artifactId>mybatis-plus-boot-starter</artifactId>
  179. <version>${mybatisplus.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.baomidou</groupId>
  183. <artifactId>mybatis-plus-generator</artifactId>
  184. <version>${mybatisplus.generator.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.github.xiaoymin</groupId>
  188. <artifactId>knife4j-spring-boot-starter</artifactId>
  189. <version>${knife4j.version}</version>
  190. </dependency>
  191. <!--引入fastjson依赖-->
  192. <dependency>
  193. <groupId>com.alibaba</groupId>
  194. <artifactId>fastjson</artifactId>
  195. <version>${fastjson.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>commons-lang</groupId>
  199. <artifactId>commons-lang</artifactId>
  200. <version>${commons.lang.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>commons-fileupload</groupId>
  204. <artifactId>commons-fileupload</artifactId>
  205. <version>${commons.fileupload.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>commons-io</groupId>
  209. <artifactId>commons-io</artifactId>
  210. <version>${commons.io.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>commons-codec</groupId>
  214. <artifactId>commons-codec</artifactId>
  215. <version>${commons.codec.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>commons-configuration</groupId>
  219. <artifactId>commons-configuration</artifactId>
  220. <version>${commons.configuration.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>joda-time</groupId>
  224. <artifactId>joda-time</artifactId>
  225. <version>${joda.time.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>com.google.code.gson</groupId>
  229. <artifactId>gson</artifactId>
  230. <version>${gson.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>com.alibaba</groupId>
  234. <artifactId>druid-spring-boot-starter</artifactId>
  235. <version>${druid.version}</version>
  236. </dependency>
  237. <!--引入模板依赖-->
  238. <dependency>
  239. <groupId>org.freemarker</groupId>
  240. <artifactId>freemarker</artifactId>
  241. <version>${freemarker.version}</version>
  242. </dependency>
  243. <!--引入注解验证依赖-->
  244. <dependency>
  245. <groupId>org.hibernate.validator</groupId>
  246. <artifactId>hibernate-validator</artifactId>
  247. <version>${hibernatevalidator.version}</version>
  248. </dependency>
  249. <!-- 动态数据源 -->
  250. <dependency>
  251. <groupId>com.baomidou</groupId>
  252. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  253. <version>${mybatisplus.dynamic.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>com.qiniu</groupId>
  257. <artifactId>qiniu-java-sdk</artifactId>
  258. <version>${qiniu.version}</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>com.aliyun.oss</groupId>
  262. <artifactId>aliyun-sdk-oss</artifactId>
  263. <version>${aliyun.oss.version}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>com.huaweicloud</groupId>
  267. <artifactId>esdk-obs-java</artifactId>
  268. <version>${huawei.obs.version}</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>com.qcloud</groupId>
  272. <artifactId>cos_api</artifactId>
  273. <version>${qcloud.cos.version}</version>
  274. <exclusions>
  275. <exclusion>
  276. <groupId>org.slf4j</groupId>
  277. <artifactId>slf4j-log4j12</artifactId>
  278. </exclusion>
  279. </exclusions>
  280. </dependency>
  281. <dependency>
  282. <groupId>io.minio</groupId>
  283. <artifactId>minio</artifactId>
  284. <version>${minio.oss.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.springframework.boot</groupId>
  288. <artifactId>spring-boot-configuration-processor</artifactId>
  289. <optional>true</optional>
  290. </dependency>
  291. <!--jdk8 可以不需要-->
  292. <dependency>
  293. <groupId>javax.xml.bind</groupId>
  294. <artifactId>jaxb-api</artifactId>
  295. <version>${jaxb.api.version}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.apache.logging.log4j</groupId>
  299. <artifactId>log4j-core</artifactId>
  300. <version>${log4j.core.version}</version>
  301. </dependency>
  302. <!-- mybatis-plus 多表关联 -->
  303. <dependency>
  304. <groupId>com.github.yulichang</groupId>
  305. <artifactId>mybatis-plus-join</artifactId>
  306. <version>${mybatisplus.join.version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>cn.smallbun.screw</groupId>
  310. <artifactId>screw-core</artifactId>
  311. <version>${screw.version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.syyai.spring.boot</groupId>
  315. <artifactId>ureport-spring-boot-starter</artifactId>
  316. <version>${ureport.version}</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.camunda.bpm.springboot</groupId>
  320. <artifactId>camunda-bpm-spring-boot-starter</artifactId>
  321. <version>${camunda.version}</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.camunda.bpm.springboot</groupId>
  325. <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
  326. <version>${camunda.version}</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.codehaus.groovy</groupId>
  330. <artifactId>groovy-all</artifactId>
  331. <version>${groovy.version}</version>
  332. <classifier>sources</classifier>
  333. <type>java-source</type>
  334. </dependency>
  335. <!-- 钉钉用到的jar包 -->
  336. <dependency>
  337. <groupId>taobao-sdk-java-auto</groupId>
  338. <artifactId>taobao-sdk-java-auto</artifactId>
  339. <version>1.0</version>
  340. <scope>system</scope>
  341. <systemPath>${project.basedir}/src/main/resources/lib/taobao-sdk-java-auto.jar</systemPath>
  342. </dependency>
  343. <dependency>
  344. <groupId>org.ssssssss</groupId>
  345. <artifactId>magic-api-spring-boot-starter</artifactId>
  346. <version>${magic.api.version}</version>
  347. </dependency>
  348. <!-- 腾讯云短信 -->
  349. <dependency>
  350. <groupId>com.tencentcloudapi</groupId>
  351. <artifactId>tencentcloud-sdk-java</artifactId>
  352. <version>${tencentcloud.version}</version>
  353. </dependency>
  354. <!-- 阿里云短信 -->
  355. <dependency>
  356. <groupId>com.aliyun</groupId>
  357. <artifactId>aliyun-java-sdk-core</artifactId>
  358. <version>${aliyun.core.version}</version>
  359. </dependency>
  360. <!-- keycloak -->
  361. <dependency>
  362. <groupId>org.keycloak</groupId>
  363. <artifactId>keycloak-authz-client</artifactId>
  364. <version>${keycloak.version}</version>
  365. </dependency>
  366. <dependency>
  367. <groupId>com.unfbx</groupId>
  368. <artifactId>chatgpt-java</artifactId>
  369. <version>${chatgpt.java.version}</version>
  370. </dependency>
  371. <dependency>
  372. <groupId>com.squareup.okio</groupId>
  373. <artifactId>okio</artifactId>
  374. <version>${okio.version}</version>
  375. </dependency>
  376. <!-- excel导入导出 -->
  377. <dependency>
  378. <groupId>com.alibaba</groupId>
  379. <artifactId>easyexcel</artifactId>
  380. <version>${easyexcel.version}</version>
  381. </dependency>
  382. <dependency>
  383. <groupId>org.apache.poi</groupId>
  384. <artifactId>poi</artifactId>
  385. <version>${poi.version}</version>
  386. <!-- <scope>provided</scope>-->
  387. </dependency>
  388. <dependency>
  389. <groupId>org.apache.poi</groupId>
  390. <artifactId>poi-ooxml</artifactId>
  391. <version>${poi.version}</version>
  392. <!-- <scope>provided</scope>-->
  393. </dependency>
  394. <dependency>
  395. <groupId>org.apache.poi</groupId>
  396. <artifactId>ooxml-schemas</artifactId>
  397. <version>${ooxml.schemas.version}</version>
  398. </dependency>
  399. <!--动态给类新增属性 的工具-->
  400. <dependency>
  401. <groupId>org.javassist</groupId>
  402. <artifactId>javassist</artifactId>
  403. <version>${javassist.version}</version>
  404. </dependency>
  405. <!-- 第三方拼音依赖包,配合 hutool-all 包中的 PinyinUtil 拼音工具使用 start -->
  406. <dependency>
  407. <groupId>com.belerweb</groupId>
  408. <artifactId>pinyin4j</artifactId>
  409. <version>${pinyin4j.version}</version>
  410. </dependency>
  411. <!-- 第三方拼音依赖包,配合 hutool-all 包中的 PinyinUtil 拼音工具使用 start -->
  412. <dependency>
  413. <groupId>org.dromara.sms4j</groupId>
  414. <artifactId>sms4j-spring-boot-starter</artifactId>
  415. <version>${sms4j.version}</version>
  416. </dependency>
  417. <dependency>
  418. <groupId>org.smartboot.license</groupId>
  419. <artifactId>license-client</artifactId>
  420. <version>${license.version}</version>
  421. </dependency>
  422. <dependency>
  423. <groupId>me.zhyd.oauth</groupId>
  424. <artifactId>JustAuth</artifactId>
  425. <version>${justauth.version}</version>
  426. </dependency>
  427. <dependency>
  428. <groupId>com.aliyun</groupId>
  429. <artifactId>dingtalk</artifactId>
  430. <version>${dingtalk.version}</version>
  431. </dependency>
  432. <!-- 引入postgres依赖 -->
  433. <dependency>
  434. <groupId>org.postgresql</groupId>
  435. <artifactId>postgresql</artifactId>
  436. <scope>runtime</scope>
  437. </dependency>
  438. </dependencies>
  439. <build>
  440. <finalName>${project.artifactId}</finalName>
  441. <plugins>
  442. <!--解开以下注释可以指定jdk版本-->
  443. <!-- <plugin>-->
  444. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  445. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  446. <!-- <version>3.8.1</version>-->
  447. <!-- <configuration>-->
  448. <!-- <source>1.8</source>-->
  449. <!-- <target>1.8</target>-->
  450. <!-- <encoding>${project.build.sourceEncoding}</encoding>-->
  451. <!-- </configuration>-->
  452. <!-- </plugin>-->
  453. <plugin>
  454. <groupId>org.springframework.boot</groupId>
  455. <artifactId>spring-boot-maven-plugin</artifactId>
  456. <configuration>
  457. <includeSystemScope>true</includeSystemScope>
  458. <excludes>
  459. <exclude>
  460. <groupId>org.projectlombok</groupId>
  461. <artifactId>lombok</artifactId>
  462. </exclude>
  463. </excludes>
  464. </configuration>
  465. </plugin>
  466. <plugin>
  467. <groupId>org.apache.maven.plugins</groupId>
  468. <artifactId>maven-surefire-plugin</artifactId>
  469. <configuration>
  470. <skip>true</skip>
  471. </configuration>
  472. </plugin>
  473. <plugin>
  474. <groupId>org.apache.maven.plugins</groupId>
  475. <artifactId>maven-compiler-plugin</artifactId>
  476. <configuration>
  477. <source>8</source>
  478. <target>8</target>
  479. </configuration>
  480. </plugin>
  481. <!--解开以下注释 打包时 会使用 maven插件 上传到docker-->
  482. <!-- &lt;!&ndash;使用docker-maven-plugin插件&ndash;&gt;-->
  483. <!-- <plugin>-->
  484. <!-- <groupId>com.spotify</groupId>-->
  485. <!-- <artifactId>docker-maven-plugin</artifactId>-->
  486. <!-- <version>1.2.2</version>-->
  487. <!-- &lt;!&ndash;将插件绑定在某个phase执行&ndash;&gt;-->
  488. <!-- <executions>-->
  489. <!-- <execution>-->
  490. <!-- <id>build-image</id>-->
  491. <!-- &lt;!&ndash;用户只需执行mvn package ,就会自动执行mvn docker:build&ndash;&gt;-->
  492. <!-- <phase>package</phase>-->
  493. <!-- <goals>-->
  494. <!-- <goal>build</goal>-->
  495. <!-- </goals>-->
  496. <!-- </execution>-->
  497. <!-- </executions>-->
  498. <!-- <configuration>-->
  499. <!-- &lt;!&ndash;指定生成的镜像名,这里是我们的作者名+项目名&ndash;&gt;-->
  500. <!-- <imageName>${project.artifactId}</imageName>-->
  501. <!-- &lt;!&ndash;指定标签 这里指定的是镜像的版本,我们默认版本是latest&ndash;&gt;-->
  502. <!-- <imageTags>-->
  503. <!-- <imageTag>latest</imageTag>-->
  504. <!-- </imageTags>-->
  505. <!-- &lt;!&ndash;指定基础镜像jdk11&ndash;&gt;-->
  506. <!-- <baseImage>openjdk:11-jre</baseImage>-->
  507. <!-- &lt;!&ndash;-->
  508. <!-- 镜像制作人本人信息&ndash;&gt;-->
  509. <!-- <maintainer>343894036@email.com</maintainer>-->
  510. <!-- &lt;!&ndash;切换到ROOT目录&ndash;&gt;-->
  511. <!-- <workdir>/ROOT</workdir>-->
  512. <!-- &lt;!&ndash;查看我们的java版本&ndash;&gt;-->
  513. <!-- <cmd>["java", "-version"]</cmd>-->
  514. <!-- &lt;!&ndash;${project.build.finalName}.jar是打包后生成的jar包的名字&ndash;&gt;-->
  515. <!-- <entryPoint>["java", "-jar", "/${project.build.finalName}.jar"]</entryPoint>-->
  516. <!-- &lt;!&ndash;指定远程 docker api地址&ndash;&gt;-->
  517. <!-- <dockerHost>http://47.106.153.7:2375</dockerHost>-->
  518. <!-- &lt;!&ndash; 这里是复制 jar 包到 docker 容器指定目录配置 &ndash;&gt;-->
  519. <!-- <resources>-->
  520. <!-- <resource>-->
  521. <!-- <targetPath>/</targetPath>-->
  522. <!-- &lt;!&ndash;jar 包所在的路径 此处配置的 即对应 target 目录&ndash;&gt;-->
  523. <!-- <directory>${project.build.directory}</directory>-->
  524. <!-- &lt;!&ndash;用于指定需要复制的文件 需要包含的 jar包 ,这里对应的是 Dockerfile中添加的文件名 &ndash;&gt;-->
  525. <!-- <include>${project.build.finalName}.jar</include>-->
  526. <!-- </resource>-->
  527. <!-- </resources>-->
  528. <!-- </configuration>-->
  529. <!-- </plugin>-->
  530. </plugins>
  531. </build>
  532. </project>