pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>powerjob</artifactId>
  7. <groupId>tech.powerjob</groupId>
  8. <version>4.3.9</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>powerjob-server</artifactId>
  12. <version>4.3.9</version>
  13. <packaging>pom</packaging>
  14. <modules>
  15. <module>powerjob-server-common</module>
  16. <module>powerjob-server-remote</module>
  17. <module>powerjob-server-persistence</module>
  18. <module>powerjob-server-starter</module>
  19. <module>powerjob-server-extension</module>
  20. <module>powerjob-server-migrate</module>
  21. <module>powerjob-server-core</module>
  22. <module>powerjob-server-monitor</module>
  23. </modules>
  24. <properties>
  25. <springboot.version>2.7.18</springboot.version>
  26. <!-- MySQL version that corresponds to spring-boot-dependencies version. -->
  27. <mysql.version>8.0.33</mysql.version>
  28. <kingbase.version>8.6.0</kingbase.version>
  29. <ojdbc.version>19.7.0.0</ojdbc.version>
  30. <mssql-jdbc.version>7.4.1.jre8</mssql-jdbc.version>
  31. <db2-jdbc.version>11.5.0.0</db2-jdbc.version>
  32. <postgresql.version>42.6.0</postgresql.version>
  33. <h2.db.version>2.2.224</h2.db.version>
  34. <mongodb-driver-sync.version>4.10.2</mongodb-driver-sync.version>
  35. <zip4j.version>2.11.2</zip4j.version>
  36. <jgit.version>5.13.2.202306221912-r</jgit.version>
  37. <mvn.invoker.version>3.0.1</mvn.invoker.version>
  38. <commons.net.version>3.9.0</commons.net.version>
  39. <fastjson.version>1.2.83</fastjson.version>
  40. <dingding.version>1.0.1</dingding.version>
  41. <!-- skip this module when deploying. -->
  42. <maven.deploy.skip>true</maven.deploy.skip>
  43. <groovy.version>3.0.10</groovy.version>
  44. <cron-utils.version>9.2.1</cron-utils.version>
  45. <powerjob-common.version>4.3.9</powerjob-common.version>
  46. <powerjob-remote-impl-http.version>4.3.9</powerjob-remote-impl-http.version>
  47. <powerjob-remote-impl-akka.version>4.3.9</powerjob-remote-impl-akka.version>
  48. <springdoc-openapi-ui.version>1.6.14</springdoc-openapi-ui.version>
  49. <aliyun-sdk-oss.version>3.17.1</aliyun-sdk-oss.version>
  50. <aws-java-sdk-s3.version>1.12.665</aws-java-sdk-s3.version>
  51. <commons-collections4.version>4.4</commons-collections4.version>
  52. </properties>
  53. <dependencyManagement>
  54. <dependencies>
  55. <dependency>
  56. <groupId>tech.powerjob</groupId>
  57. <artifactId>powerjob-server-common</artifactId>
  58. <version>${project.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>tech.powerjob</groupId>
  62. <artifactId>powerjob-server-monitor</artifactId>
  63. <version>${project.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>tech.powerjob</groupId>
  67. <artifactId>powerjob-server-extension</artifactId>
  68. <version>${project.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>tech.powerjob</groupId>
  72. <artifactId>powerjob-server-remote</artifactId>
  73. <version>${project.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>tech.powerjob</groupId>
  77. <artifactId>powerjob-server-persistence</artifactId>
  78. <version>${project.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>tech.powerjob</groupId>
  82. <artifactId>powerjob-server-core</artifactId>
  83. <version>${project.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>tech.powerjob</groupId>
  87. <artifactId>powerjob-server-migrate</artifactId>
  88. <version>${project.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>tech.powerjob</groupId>
  92. <artifactId>powerjob-server-starter</artifactId>
  93. <version>${project.version}</version>
  94. </dependency>
  95. <!-- 存储扩展-MongoDB,未使用可移除 -->
  96. <dependency>
  97. <groupId>org.mongodb</groupId>
  98. <artifactId>mongodb-driver-sync</artifactId>
  99. <version>${mongodb-driver-sync.version}</version>
  100. </dependency>
  101. <!-- 存储扩展-阿里云OSS,未使用可移除 -->
  102. <dependency>
  103. <groupId>com.aliyun.oss</groupId>
  104. <artifactId>aliyun-sdk-oss</artifactId>
  105. <version>${aliyun-sdk-oss.version}</version>
  106. </dependency>
  107. <!-- 存储扩展-Minio/S3,未使用可移除(minio-client 依赖 OKHTTP4.x 版本,强制引入 kotlin 标准库,为了防止引入更多问题放弃) -->
  108. <dependency>
  109. <groupId>com.amazonaws</groupId>
  110. <artifactId>aws-java-sdk-s3</artifactId>
  111. <version>${aws-java-sdk-s3.version}</version>
  112. </dependency>
  113. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
  114. <dependency>
  115. <groupId>org.apache.commons</groupId>
  116. <artifactId>commons-collections4</artifactId>
  117. <version>${commons-collections4.version}</version>
  118. </dependency>
  119. </dependencies>
  120. </dependencyManagement>
  121. <dependencies>
  122. <!-- 网络层 -->
  123. <dependency>
  124. <groupId>tech.powerjob</groupId>
  125. <artifactId>powerjob-common</artifactId>
  126. <version>${powerjob-common.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>tech.powerjob</groupId>
  130. <artifactId>powerjob-remote-impl-http</artifactId>
  131. <version>${powerjob-remote-impl-http.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>tech.powerjob</groupId>
  135. <artifactId>powerjob-remote-impl-akka</artifactId>
  136. <version>${powerjob-remote-impl-akka.version}</version>
  137. </dependency>
  138. <!-- mysql -->
  139. <dependency>
  140. <groupId>mysql</groupId>
  141. <artifactId>mysql-connector-java</artifactId>
  142. <version>${mysql.version}</version>
  143. </dependency>
  144. <!-- kingbase -->
  145. <dependency>
  146. <groupId>cn.com.kingbase</groupId>
  147. <artifactId>kingbase8</artifactId>
  148. <version>${kingbase.version}</version>
  149. </dependency>
  150. <!-- oracle -->
  151. <dependency>
  152. <groupId>com.oracle.database.jdbc</groupId>
  153. <artifactId>ojdbc8</artifactId>
  154. <version>${ojdbc.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.oracle.database.nls</groupId>
  158. <artifactId>orai18n</artifactId>
  159. <version>${ojdbc.version}</version>
  160. </dependency>
  161. <!-- sqlserver -->
  162. <dependency>
  163. <groupId>com.microsoft.sqlserver</groupId>
  164. <artifactId>mssql-jdbc</artifactId>
  165. <version>${mssql-jdbc.version}</version>
  166. </dependency>
  167. <!-- db2 -->
  168. <dependency>
  169. <groupId>com.ibm.db2</groupId>
  170. <artifactId>jcc</artifactId>
  171. <version>${db2-jdbc.version}</version>
  172. </dependency>
  173. <!-- postgresql -->
  174. <dependency>
  175. <groupId>org.postgresql</groupId>
  176. <artifactId>postgresql</artifactId>
  177. <version>${postgresql.version}</version>
  178. </dependency>
  179. <!-- h2 database -->
  180. <dependency>
  181. <groupId>com.h2database</groupId>
  182. <artifactId>h2</artifactId>
  183. <version>${h2.db.version}</version>
  184. </dependency>
  185. <!-- SpringBoot -->
  186. <dependency>
  187. <groupId>org.springframework.boot</groupId>
  188. <artifactId>spring-boot-starter-web</artifactId>
  189. <version>${springboot.version}</version>
  190. <exclusions>
  191. <exclusion>
  192. <groupId>org.springframework.boot</groupId>
  193. <artifactId>spring-boot-starter-tomcat</artifactId>
  194. </exclusion>
  195. </exclusions>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.springframework.boot</groupId>
  199. <artifactId>spring-boot-starter-undertow</artifactId>
  200. <version>${springboot.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.springframework.boot</groupId>
  204. <artifactId>spring-boot-starter-websocket</artifactId>
  205. <version>${springboot.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.springframework.boot</groupId>
  209. <artifactId>spring-boot-starter-data-jpa</artifactId>
  210. <version>${springboot.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.springframework.boot</groupId>
  214. <artifactId>spring-boot-starter-actuator</artifactId>
  215. <version>${springboot.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.springframework.boot</groupId>
  219. <artifactId>spring-boot-starter-mail</artifactId>
  220. <version>${springboot.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.springframework.boot</groupId>
  224. <artifactId>spring-boot-starter-test</artifactId>
  225. <version>${springboot.version}</version>
  226. <scope>test</scope>
  227. </dependency>
  228. <!-- zip4j(Zip support) -->
  229. <dependency>
  230. <groupId>net.lingala.zip4j</groupId>
  231. <artifactId>zip4j</artifactId>
  232. <version>${zip4j.version}</version>
  233. </dependency>
  234. <!-- jGit(Git support) -->
  235. <dependency>
  236. <groupId>org.eclipse.jgit</groupId>
  237. <artifactId>org.eclipse.jgit</artifactId>
  238. <version>${jgit.version}</version>
  239. </dependency>
  240. <!-- Time tools(NTP support) -->
  241. <dependency>
  242. <groupId>commons-net</groupId>
  243. <artifactId>commons-net</artifactId>
  244. <version>${commons.net.version}</version>
  245. </dependency>
  246. <!-- Maven Invoker(used for maven compilation) -->
  247. <dependency>
  248. <groupId>org.apache.maven.shared</groupId>
  249. <artifactId>maven-invoker</artifactId>
  250. <version>${mvn.invoker.version}</version>
  251. </dependency>
  252. <!-- fastJson(used for serialization of DAG) -->
  253. <dependency>
  254. <groupId>com.alibaba</groupId>
  255. <artifactId>fastjson</artifactId>
  256. <version>${fastjson.version}</version>
  257. </dependency>
  258. <!-- DingTalk SDK. -->
  259. <dependency>
  260. <groupId>com.aliyun</groupId>
  261. <artifactId>alibaba-dingtalk-service-sdk</artifactId>
  262. <version>${dingding.version}</version>
  263. <exclusions>
  264. <exclusion>
  265. <groupId>log4j</groupId>
  266. <artifactId>log4j</artifactId>
  267. </exclusion>
  268. </exclusions>
  269. </dependency>
  270. <dependency>
  271. <groupId>com.cronutils</groupId>
  272. <artifactId>cron-utils</artifactId>
  273. <version>${cron-utils.version}</version>
  274. </dependency>
  275. <!-- OPEN API -->
  276. <dependency>
  277. <groupId>org.springdoc</groupId>
  278. <artifactId>springdoc-openapi-ui</artifactId>
  279. <version>${springdoc-openapi-ui.version}</version>
  280. </dependency>
  281. <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-jsr223 -->
  282. <dependency>
  283. <groupId>org.codehaus.groovy</groupId>
  284. <artifactId>groovy-jsr223</artifactId>
  285. <version>${groovy.version}</version>
  286. </dependency>
  287. <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-json -->
  288. <dependency>
  289. <groupId>org.codehaus.groovy</groupId>
  290. <artifactId>groovy-json</artifactId>
  291. <version>${groovy.version}</version>
  292. </dependency>
  293. </dependencies>
  294. <build>
  295. <plugins>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-deploy-plugin</artifactId>
  299. <configuration>
  300. <skip>true</skip>
  301. </configuration>
  302. </plugin>
  303. </plugins>
  304. </build>
  305. </project>