pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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. <packaging>pom</packaging>
  6. <modules>
  7. <module>../jzo2o-common</module>
  8. <module>../jzo2o-mysql</module>
  9. <module>../jzo2o-knife4j-web</module>
  10. <module>../jzo2o-xxl-job</module>
  11. <module>../jzo2o-mvc</module>
  12. <module>../jzo2o-redis</module>
  13. <module>../jzo2o-thirdparty</module>
  14. <module>../jzo2o-es</module>
  15. <module>../jzo2o-rabbitmq</module>
  16. <module>../jzo2o-statemachine</module>
  17. <module>../jzo2o-shardingsphere-jdbc</module>
  18. <module>../jzo2o-canal-sync</module>
  19. <module>../jzo2o-seata</module>
  20. <module>../jzo2o-sentinel</module>
  21. </modules>
  22. <groupId>com.jzo2o</groupId>
  23. <artifactId>jzo2o-parent</artifactId>
  24. <version>1.0-SNAPSHOT</version>
  25. <name>jzo2o-parent</name>
  26. <description>家政o2o父项目,用于管理依赖版本</description>
  27. <properties>
  28. <!-- 文件拷贝时的编码 -->
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  31. <!-- 编译时的编码 -->
  32. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  33. <java.version>11</java.version>
  34. <jzo2o.version>1.0-SNAPSHOT</jzo2o.version>
  35. <lombok.version>1.18.26</lombok.version>
  36. <slf4j.version>1.7.30</slf4j.version>
  37. <hutool.version>5.7.18</hutool.version>
  38. <mybatis-plus.version>3.4.3</mybatis-plus.version>
  39. <spring-boot.version>2.7.10</spring-boot.version>
  40. <gateway.version>3.1.1</gateway.version>
  41. <spring-cloud.version>2021.0.4</spring-cloud.version>
  42. <spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
  43. <swagger.version>3.0.3</swagger.version>
  44. <swagger-annotations.version>1.5.22</swagger-annotations.version>
  45. <reddsion.version>3.17.7</reddsion.version>
  46. <aspectj.version>1.9.8.M1</aspectj.version>
  47. <servlet-api.version>4.0.1</servlet-api.version>
  48. <validator.version>6.0.18.Final</validator.version>
  49. <!-- <validator.version>8.0.0.CR1</validator.version>-->
  50. <es.version>7.17.7</es.version>
  51. <jackson.version>2.14.2</jackson.version>
  52. <jakarta.json-ai.version>2.0.1</jakarta.json-ai.version>
  53. <pagehelper.version>5.1.11</pagehelper.version>
  54. <canal.version>1.1.5</canal.version>
  55. <shardingsphere-jdbc.version>5.4.0</shardingsphere-jdbc.version>
  56. <snakeyaml.version>1.33</snakeyaml.version>
  57. <statemachine-redis.version>1.2.14.RELEASE</statemachine-redis.version>
  58. <statemachine-core.version>2.5.1</statemachine-core.version>
  59. <xxl-job.version>2.3.0</xxl-job.version>
  60. <knife4j-gateway.version>4.2.0</knife4j-gateway.version>
  61. <seata-version>1.5.2</seata-version>
  62. <antlr.verison>3.5.3</antlr.verison>
  63. <easyexcel.verison>3.2.0</easyexcel.verison>
  64. <sentinel.version>1.8.5</sentinel.version>
  65. </properties>
  66. <parent>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-parent</artifactId>
  69. <version>2.7.10</version>
  70. </parent>
  71. <dependencies>
  72. <!--lombok-->
  73. <dependency>
  74. <groupId>org.projectlombok</groupId>
  75. <artifactId>lombok</artifactId>
  76. <version>${lombok.version}</version>
  77. </dependency>
  78. <!--日志-->
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-api</artifactId>
  82. <version>${slf4j.version}</version>
  83. </dependency>
  84. </dependencies>
  85. <dependencyManagement>
  86. <dependencies>
  87. <!--alibaba 相关依赖-->
  88. <dependency>
  89. <groupId>com.alibaba.cloud</groupId>
  90. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  91. <version>2021.0.4.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba.cloud</groupId>
  95. <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
  96. <version>2021.0.4.0</version>
  97. </dependency>
  98. <!--mybatis-plus 相关依赖-->
  99. <dependency>
  100. <groupId>com.baomidou</groupId>
  101. <artifactId>mybatis-plus-boot-starter</artifactId>
  102. <version>${mybatis-plus.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.baomidou</groupId>
  106. <artifactId>mybatis-plus-core</artifactId>
  107. <version>${mybatis-plus.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.baomidou</groupId>
  111. <artifactId>mybatis-plus-extension</artifactId>
  112. <version>${mybatis-plus.version}</version>
  113. </dependency>
  114. <!--spring-boot相关依赖-->
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-dependencies</artifactId>
  118. <version>${spring-boot.version}</version>
  119. </dependency>
  120. <!-- spring-cloud相关依赖 -->
  121. <dependency>
  122. <groupId>org.springframework.cloud</groupId>
  123. <artifactId>spring-cloud-dependencies</artifactId>
  124. <version>${spring-cloud.version}</version>
  125. <type>pom</type>
  126. <scope>import</scope>
  127. </dependency>
  128. <!--spring cloud alibaba 服务注册-->
  129. <dependency>
  130. <groupId>com.alibaba.cloud</groupId>
  131. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  132. <version>${spring-cloud-alibaba.version}</version>
  133. </dependency>
  134. <!--spring cloud alibaba-->
  135. <dependency>
  136. <groupId>com.alibaba.cloud</groupId>
  137. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  138. <version>${spring-cloud-alibaba.version}</version>
  139. </dependency>
  140. <!--swagger knife4j-->
  141. <dependency>
  142. <groupId>com.github.xiaoymin</groupId>
  143. <artifactId>knife4j-spring-boot-starter</artifactId>
  144. <version>${swagger.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.github.xiaoymin</groupId>
  148. <artifactId>knife4j-gateway-spring-boot-starter</artifactId>
  149. <version>${knife4j-gateway.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>io.swagger</groupId>
  153. <artifactId>swagger-annotations</artifactId>
  154. <version>${swagger-annotations.version}</version>
  155. </dependency>
  156. <!-- https://mvnrepository.com/artifact/org.redisson/redisson -->
  157. <dependency>
  158. <groupId>org.redisson</groupId>
  159. <artifactId>redisson</artifactId>
  160. <version>${reddsion.version}</version>
  161. </dependency>
  162. <!--es-->
  163. <dependency>
  164. <groupId>org.elasticsearch.client</groupId>
  165. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  166. <version>${es.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>co.elastic.clients</groupId>
  170. <artifactId>elasticsearch-java</artifactId>
  171. <version>${es.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.aspectj</groupId>
  175. <artifactId>aspectjweaver</artifactId>
  176. <version>${aspectj.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>javax.servlet</groupId>
  180. <artifactId>servlet-api</artifactId>
  181. <version>${servlet-api.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.hibernate.validator</groupId>
  185. <artifactId>hibernate-validator</artifactId>
  186. <version>${validator.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework.boot</groupId>
  190. <artifactId>spring-boot-starter-web</artifactId>
  191. <version>${spring-boot.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>mysql</groupId>
  195. <artifactId>mysql-connector-java</artifactId>
  196. <version>${mysql.version}</version>
  197. </dependency>
  198. <!--hutool工具-->
  199. <dependency>
  200. <groupId>cn.hutool</groupId>
  201. <artifactId>hutool-all</artifactId>
  202. <version>${hutool.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.fasterxml.jackson.core</groupId>
  206. <artifactId>jackson-databind</artifactId>
  207. <version>${jackson.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>jakarta.json</groupId>
  211. <artifactId>jakarta.json-api</artifactId>
  212. <version>${jakarta.json-ai.version}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.github.pagehelper</groupId>
  216. <artifactId>pagehelper</artifactId>
  217. <version>${pagehelper.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.alibaba.otter</groupId>
  221. <artifactId>canal.client</artifactId>
  222. <version>${canal.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.alibaba.otter</groupId>
  226. <artifactId>canal.protocol</artifactId>
  227. <version>${canal.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.shardingsphere</groupId>
  231. <artifactId>shardingsphere-jdbc-core</artifactId>
  232. <version>${shardingsphere-jdbc.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.apache.shardingsphere</groupId>
  236. <artifactId>shardingsphere-cluster-mode-repository-nacos</artifactId>
  237. <version>${shardingsphere-jdbc.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.yaml</groupId>
  241. <artifactId>snakeyaml</artifactId>
  242. <version>${snakeyaml.version}</version>
  243. </dependency>
  244. <!-- 状态机相关依赖 -->
  245. <dependency>
  246. <groupId>org.springframework.statemachine</groupId>
  247. <artifactId>spring-statemachine-redis</artifactId>
  248. <version>${statemachine-redis.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.springframework.statemachine</groupId>
  252. <artifactId>spring-statemachine-core</artifactId>
  253. <version>${statemachine-core.version}</version>
  254. </dependency>
  255. <!-- alibaba sentinel-->
  256. <dependency>
  257. <groupId>com.alibaba.cloud</groupId>
  258. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  259. <version>${spring-cloud-alibaba.version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.alibaba.cloud</groupId>
  263. <artifactId>spring-cloud-alibaba-sentinel-datasource</artifactId>
  264. <version>${spring-cloud-alibaba.version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>com.alibaba.csp</groupId>
  268. <artifactId>sentinel-datasource-nacos</artifactId>
  269. <version>${sentinel.version}</version>
  270. </dependency>
  271. <!--xxl调度任务工具包-->
  272. <dependency>
  273. <groupId>com.xuxueli</groupId>
  274. <artifactId>xxl-job-core</artifactId>
  275. <version>${xxl-job.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.jzo2o</groupId>
  279. <artifactId>jzo2o-api</artifactId>
  280. <version>${jzo2o.version}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.jzo2o</groupId>
  284. <artifactId>jzo2o-common</artifactId>
  285. <version>${jzo2o.version}</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>com.jzo2o</groupId>
  289. <artifactId>jzo2o-knife4j-web</artifactId>
  290. <version>${jzo2o.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>com.jzo2o</groupId>
  294. <artifactId>jzo2o-es</artifactId>
  295. <version>${jzo2o.version}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>com.jzo2o</groupId>
  299. <artifactId>jzo2o-mvc</artifactId>
  300. <version>${jzo2o.version}</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>com.jzo2o</groupId>
  304. <artifactId>jzo2o-mysql</artifactId>
  305. <version>${jzo2o.version}</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>com.jzo2o</groupId>
  309. <artifactId>jzo2o-rabbitmq</artifactId>
  310. <version>${jzo2o.version}</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>com.jzo2o</groupId>
  314. <artifactId>jzo2o-redis</artifactId>
  315. <version>${jzo2o.version}</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>com.jzo2o</groupId>
  319. <artifactId>jzo2o-shardingsphere-jdbc</artifactId>
  320. <version>${jzo2o.version}</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.jzo2o</groupId>
  324. <artifactId>jzo2o-thirdparty</artifactId>
  325. <version>${jzo2o.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.jzo2o</groupId>
  329. <artifactId>jzo2o-xxl-job</artifactId>
  330. <version>${jzo2o.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.jzo2o</groupId>
  334. <artifactId>jzo2o-canal-sync</artifactId>
  335. <version>${jzo2o.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.jzo2o</groupId>
  339. <artifactId>jzo2o-statemachine</artifactId>
  340. <version>${jzo2o.version}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.jzo2o</groupId>
  344. <artifactId>jzo2o-orders-base</artifactId>
  345. <version>${jzo2o.version}</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>com.jzo2o</groupId>
  349. <artifactId>jzo2o-knife4j-gateway</artifactId>
  350. <version>${jzo2o.version}</version>
  351. </dependency>
  352. <dependency>
  353. <groupId>com.jzo2o</groupId>
  354. <artifactId>jzo2o-seata</artifactId>
  355. <version>${jzo2o.version}</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>org.springframework.boot</groupId>
  359. <artifactId>spring-boot-starter-cache</artifactId>
  360. <version>${spring-boot.version}</version>
  361. </dependency>
  362. <dependency>
  363. <artifactId>seata-spring-boot-starter</artifactId>
  364. <groupId>io.seata</groupId>
  365. <version>${seata-version}</version>
  366. </dependency>
  367. <dependency>
  368. <groupId>org.antlr</groupId>
  369. <artifactId>antlr</artifactId>
  370. <version>${antlr.verison}</version>
  371. </dependency>
  372. <dependency>
  373. <groupId>com.alibaba</groupId>
  374. <artifactId>easyexcel</artifactId>
  375. <version>${easyexcel.verison}</version>
  376. </dependency>
  377. <dependency>
  378. <groupId>com.jzo2o</groupId>
  379. <artifactId>jzo2o-sentinel</artifactId>
  380. <version>${jzo2o.version}</version>
  381. </dependency>
  382. </dependencies>
  383. </dependencyManagement>
  384. <build>
  385. <pluginManagement>
  386. <plugins>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-compiler-plugin</artifactId>
  390. <version>3.8.1</version>
  391. <configuration>
  392. <source>11</source> <!-- depending on your project -->
  393. <target>11</target> <!-- depending on your project -->
  394. </configuration>
  395. </plugin>
  396. <!-- maven 打包时跳过测试 -->
  397. <plugin>
  398. <groupId>org.apache.maven.plugins</groupId>
  399. <artifactId>maven-surefire-plugin</artifactId>
  400. <configuration>
  401. <skip>true</skip>
  402. </configuration>
  403. </plugin>
  404. </plugins>
  405. </pluginManagement>
  406. </build>
  407. </project>