pom.xml 25 KB

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