pom.xml 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  18. <modelVersion>4.0.0</modelVersion>
  19. <parent>
  20. <groupId>org.apache</groupId>
  21. <artifactId>apache</artifactId>
  22. <version>25</version>
  23. </parent>
  24. <groupId>org.apache.seatunnel</groupId>
  25. <artifactId>seatunnel</artifactId>
  26. <version>${revision}</version>
  27. <packaging>pom</packaging>
  28. <name>SeaTunnel :</name>
  29. <description>Production ready big data processing product based on Apache Spark and Apache Flink.</description>
  30. <modules>
  31. <!--
  32. We retrieve the config module from maven repository. If you want to change the config module,
  33. you need to open this annotation and change the dependency of config-shade to project.
  34. <module>seatunnel-config</module>
  35. -->
  36. <module>seatunnel-config</module>
  37. <module>seatunnel-common</module>
  38. <module>seatunnel-core</module>
  39. <module>seatunnel-transforms-v2</module>
  40. <module>seatunnel-connectors-v2</module>
  41. <module>seatunnel-api</module>
  42. <module>seatunnel-translation</module>
  43. <module>seatunnel-plugin-discovery</module>
  44. <module>seatunnel-formats</module>
  45. <module>seatunnel-engine</module>
  46. <module>seatunnel-examples</module>
  47. <module>seatunnel-e2e</module>
  48. <module>seatunnel-shade</module>
  49. </modules>
  50. <properties>
  51. <!--todo The classification is too confusing, reclassify by type-->
  52. <revision>2.3.2</revision>
  53. <seatunnel.config.shade.version>2.1.1</seatunnel.config.shade.version>
  54. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  55. <java.version>1.8</java.version>
  56. <scala.version>2.11.12</scala.version>
  57. <scala.binary.version>2.11</scala.binary.version>
  58. <maven.compiler.source>${java.version}</maven.compiler.source>
  59. <maven.compiler.target>${java.version}</maven.compiler.target>
  60. <slf4j.version>1.7.25</slf4j.version>
  61. <log4j2.version>2.17.1</log4j2.version>
  62. <log4j2-disruptor.version>3.4.4</log4j2-disruptor.version>
  63. <log4j.version>1.2.17</log4j.version>
  64. <logback.version>1.2.3</logback.version>
  65. <commons-logging.version>1.2</commons-logging.version>
  66. <iceberg.version>0.13.1</iceberg.version>
  67. <flink.1.13.6.version>1.13.6</flink.1.13.6.version>
  68. <flink.1.15.3.version>1.15.3</flink.1.15.3.version>
  69. <spark.2.4.0.version>2.4.0</spark.2.4.0.version>
  70. <spark.3.3.0.version>3.3.0</spark.3.3.0.version>
  71. <spark.binary.2.4.version>2.4</spark.binary.2.4.version>
  72. <commons.beanutils.version>1.9.4</commons.beanutils.version>
  73. <commons.cli.version>1.4</commons.cli.version>
  74. <commons.configuration.version>1.7</commons.configuration.version>
  75. <commons.digester.version>1.8.1</commons.digester.version>
  76. <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
  77. <jersey.version>1.19</jersey.version>
  78. <javax.servlet.jap.version>2.1</javax.servlet.jap.version>
  79. <hadoop.binary.version>2.7</hadoop.binary.version>
  80. <jackson.version>2.12.6</jackson.version>
  81. <lombok.version>1.18.24</lombok.version>
  82. <commons-compress.version>1.20</commons-compress.version>
  83. <skip.pmd.check>false</skip.pmd.check>
  84. <maven.deploy.skip>false</maven.deploy.skip>
  85. <maven.javadoc.skip>false</maven.javadoc.skip>
  86. <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
  87. <maven-failsafe-plugin.version>2.22.2</maven-failsafe-plugin.version>
  88. <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
  89. <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
  90. <maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version>
  91. <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
  92. <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
  93. <maven-pmd-plugin.version>3.8</maven-pmd-plugin.version>
  94. <elasticsearch6.client.version>6.3.1</elasticsearch6.client.version>
  95. <elasticsearch7.client.version>7.5.1</elasticsearch7.client.version>
  96. <flink-shaded-hadoop-2.version>2.7.5-7.0</flink-shaded-hadoop-2.version>
  97. <commons-lang3.version>3.4</commons-lang3.version>
  98. <commons-io.version>2.11.0</commons-io.version>
  99. <commons-collections4.version>4.4</commons-collections4.version>
  100. <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
  101. <commons-compress.version>1.20</commons-compress.version>
  102. <protostuff.version>1.8.0</protostuff.version>
  103. <spark.scope>provided</spark.scope>
  104. <flink.scope>provided</flink.scope>
  105. <codec.version>1.13</codec.version>
  106. <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
  107. <docker.hub>apache</docker.hub>
  108. <docker.tag>${project.version}</docker.tag>
  109. <jcommander.version>1.81</jcommander.version>
  110. <junit.version>5.9.0</junit.version>
  111. <config.version>1.3.3</config.version>
  112. <maven-shade-plugin.version>3.3.0</maven-shade-plugin.version>
  113. <maven-helper-plugin.version>3.2.0</maven-helper-plugin.version>
  114. <flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
  115. <maven-license-maven-plugin>1.20</maven-license-maven-plugin>
  116. <log4j-core.version>2.17.1</log4j-core.version>
  117. <docker-maven-plugin.version>0.38.0</docker-maven-plugin.version>
  118. <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
  119. <p3c-pmd.version>1.3.0</p3c-pmd.version>
  120. <maven-scm-provider-jgit.version>1.9.5</maven-scm-provider-jgit.version>
  121. <testcontainer.version>1.17.6</testcontainer.version>
  122. <spotless.version>2.29.0</spotless.version>
  123. <jsqlparser.version>4.5</jsqlparser.version>
  124. <!-- Option args -->
  125. <skipUT>false</skipUT>
  126. <skipIT>true</skipIT>
  127. <elasticsearch>7</elasticsearch>
  128. <guava.version>27.0-jre</guava.version>
  129. <auto-service.version>1.0.1</auto-service.version>
  130. <hadoop2.version>2.6.5</hadoop2.version>
  131. <seatunnel.shade.package>org.apache.seatunnel.shade</seatunnel.shade.package>
  132. <snappy-java.version>1.1.8.3</snappy-java.version>
  133. <checker.qual.version>3.10.0</checker.qual.version>
  134. <awaitility.version>4.2.0</awaitility.version>
  135. <e2e.dependency.skip>true</e2e.dependency.skip>
  136. <!-- Imap storage dependency package -->
  137. <hadoop-aliyun.version>3.0.0</hadoop-aliyun.version>
  138. <json-smart.version>2.4.7</json-smart.version>
  139. <hadoop-aws.version>3.1.4</hadoop-aws.version>
  140. <netty-buffer.version>4.1.60.Final</netty-buffer.version>
  141. </properties>
  142. <dependencyManagement>
  143. <dependencies>
  144. <!-- ***************** slf4j & provider & bridges start ***************** -->
  145. <!-- Declare slf4j-api -->
  146. <dependency>
  147. <groupId>org.slf4j</groupId>
  148. <artifactId>slf4j-api</artifactId>
  149. <version>${slf4j.version}</version>
  150. </dependency>
  151. <!-- Declare slf4j-api provider: log4j2.x -->
  152. <dependency>
  153. <groupId>org.apache.logging.log4j</groupId>
  154. <artifactId>log4j-slf4j-impl</artifactId>
  155. <version>${log4j2.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.logging.log4j</groupId>
  159. <artifactId>log4j-api</artifactId>
  160. <version>${log4j2.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.logging.log4j</groupId>
  164. <artifactId>log4j-core</artifactId>
  165. <version>${log4j2.version}</version>
  166. </dependency>
  167. <!-- Declare log4j2 asynchronous loggers provider: disruptor -->
  168. <dependency>
  169. <groupId>com.lmax</groupId>
  170. <artifactId>disruptor</artifactId>
  171. <version>${log4j2-disruptor.version}</version>
  172. </dependency>
  173. <!-- Include the logging bridges -->
  174. <!-- commons-logging bridge to slf4j -->
  175. <dependency>
  176. <groupId>org.slf4j</groupId>
  177. <artifactId>jcl-over-slf4j</artifactId>
  178. <version>${slf4j.version}</version>
  179. </dependency>
  180. <!-- jdk-logging bridge to slf4j -->
  181. <!-- low performance, see: https://www.slf4j.org/legacy.html#jul-to-slf4j
  182. <dependency>
  183. <groupId>org.slf4j</groupId>
  184. <artifactId>jul-to-slf4j</artifactId>
  185. <version>${slf4j.version}</version>
  186. </dependency>
  187. -->
  188. <!-- log4j1.x bridge to log4j2.x -->
  189. <dependency>
  190. <groupId>org.apache.logging.log4j</groupId>
  191. <artifactId>log4j-1.2-api</artifactId>
  192. <version>${log4j2.version}</version>
  193. </dependency>
  194. <!-- Exclude the logging bridges via provided scope -->
  195. <!-- log4j1.x bridge to slf4j
  196. Use of the SLF4J adapter (log4j-over-slf4j) together with the SLF4J bridge (slf4j-log4j12) should never be attempted as it will cause events to endlessly be routed between SLF4J and Log4j 1
  197. -->
  198. <dependency>
  199. <groupId>org.slf4j</groupId>
  200. <artifactId>log4j-over-slf4j</artifactId>
  201. <version>${slf4j.version}</version>
  202. <scope>provided</scope>
  203. </dependency>
  204. <!-- slf4j binding to log4j1.x -->
  205. <dependency>
  206. <groupId>org.slf4j</groupId>
  207. <artifactId>slf4j-log4j12</artifactId>
  208. <version>${slf4j.version}</version>
  209. <scope>provided</scope>
  210. </dependency>
  211. <!-- log4j2.x binding to slf4j.
  212. Use of the SLF4J adapter (log4j-to-slf4j-2.x.jar) together with the SLF4J bridge (log4j-slf4j-impl-2.x.jar) should never be attempted as it will cause events to endlessly be routed between SLF4J and Log4j 2
  213. -->
  214. <dependency>
  215. <groupId>org.apache.logging.log4j</groupId>
  216. <artifactId>log4j-to-slf4j</artifactId>
  217. <version>${log4j2.version}</version>
  218. <scope>provided</scope>
  219. </dependency>
  220. <!-- slf4j binding to jdk-logging -->
  221. <dependency>
  222. <groupId>org.slf4j</groupId>
  223. <artifactId>slf4j-jdk14</artifactId>
  224. <version>${slf4j.version}</version>
  225. <scope>provided</scope>
  226. </dependency>
  227. <!-- slf4j binding to commons-logging -->
  228. <dependency>
  229. <groupId>org.slf4j</groupId>
  230. <artifactId>slf4j-jcl</artifactId>
  231. <version>${slf4j.version}</version>
  232. <scope>provided</scope>
  233. </dependency>
  234. <!-- slf4j binding to nop -->
  235. <dependency>
  236. <groupId>org.slf4j</groupId>
  237. <artifactId>slf4j-nop</artifactId>
  238. <version>${slf4j.version}</version>
  239. <scope>provided</scope>
  240. </dependency>
  241. <!-- slf4j binding to simple -->
  242. <dependency>
  243. <groupId>org.slf4j</groupId>
  244. <artifactId>slf4j-simple</artifactId>
  245. <version>${slf4j.version}</version>
  246. <scope>provided</scope>
  247. </dependency>
  248. <!-- slf4j binding to reload4j -->
  249. <dependency>
  250. <groupId>org.slf4j</groupId>
  251. <artifactId>slf4j-reload4j</artifactId>
  252. <version>${slf4j.version}</version>
  253. <scope>provided</scope>
  254. </dependency>
  255. <!-- Exclude other logging provider via provided scope -->
  256. <dependency>
  257. <groupId>commons-logging</groupId>
  258. <artifactId>commons-logging</artifactId>
  259. <version>${commons-logging.version}</version>
  260. <scope>provided</scope>
  261. </dependency>
  262. <dependency>
  263. <groupId>log4j</groupId>
  264. <artifactId>log4j</artifactId>
  265. <version>${log4j.version}</version>
  266. <scope>provided</scope>
  267. </dependency>
  268. <dependency>
  269. <groupId>ch.qos.logback</groupId>
  270. <artifactId>logback-classic</artifactId>
  271. <version>${logback.version}</version>
  272. <scope>provided</scope>
  273. </dependency>
  274. <dependency>
  275. <groupId>ch.qos.logback</groupId>
  276. <artifactId>logback-core</artifactId>
  277. <version>${logback.version}</version>
  278. <scope>provided</scope>
  279. </dependency>
  280. <!-- ***************** slf4j & provider & bridges end ***************** -->
  281. <dependency>
  282. <groupId>org.apache.seatunnel</groupId>
  283. <artifactId>seatunnel-config-shade</artifactId>
  284. <version>${project.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>commons-codec</groupId>
  288. <artifactId>commons-codec</artifactId>
  289. <version>${codec.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.apache.flink</groupId>
  293. <artifactId>flink-shaded-hadoop-2</artifactId>
  294. <version>${flink-shaded-hadoop-2.version}</version>
  295. <exclusions>
  296. <exclusion>
  297. <groupId>xml-apis</groupId>
  298. <artifactId>xml-apis</artifactId>
  299. </exclusion>
  300. <exclusion>
  301. <groupId>org.slf4j</groupId>
  302. <artifactId>slf4j-log4j12</artifactId>
  303. </exclusion>
  304. </exclusions>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.projectlombok</groupId>
  308. <artifactId>lombok</artifactId>
  309. <version>${lombok.version}</version>
  310. <scope>provided</scope>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.apache.commons</groupId>
  314. <artifactId>commons-lang3</artifactId>
  315. <version>${commons-lang3.version}</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.apache.commons</groupId>
  319. <artifactId>commons-collections4</artifactId>
  320. <version>${commons-collections4.version}</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.beust</groupId>
  324. <artifactId>jcommander</artifactId>
  325. <version>${jcommander.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.junit</groupId>
  329. <artifactId>junit-bom</artifactId>
  330. <version>${junit.version}</version>
  331. <type>pom</type>
  332. <scope>import</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>com.fasterxml.jackson.core</groupId>
  336. <artifactId>jackson-annotations</artifactId>
  337. <version>${jackson.version}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>com.fasterxml.jackson.core</groupId>
  341. <artifactId>jackson-core</artifactId>
  342. <version>${jackson.version}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>com.fasterxml.jackson.core</groupId>
  346. <artifactId>jackson-databind</artifactId>
  347. <version>${jackson.version}</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.apache.commons</groupId>
  351. <artifactId>commons-compress</artifactId>
  352. <version>${commons-compress.version}</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.testcontainers</groupId>
  356. <artifactId>testcontainers</artifactId>
  357. <version>${testcontainer.version}</version>
  358. <scope>test</scope>
  359. <exclusions>
  360. <exclusion>
  361. <groupId>org.slf4j</groupId>
  362. <artifactId>slf4j-api</artifactId>
  363. </exclusion>
  364. <exclusion>
  365. <groupId>junit</groupId>
  366. <artifactId>junit</artifactId>
  367. </exclusion>
  368. </exclusions>
  369. </dependency>
  370. <dependency>
  371. <groupId>com.typesafe</groupId>
  372. <artifactId>config</artifactId>
  373. <version>${config.version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>org.scala-lang</groupId>
  377. <artifactId>scala-library</artifactId>
  378. <version>${scala.version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>com.google.guava</groupId>
  382. <artifactId>guava</artifactId>
  383. <version>${guava.version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>org.checkerframework</groupId>
  387. <artifactId>checker-qual</artifactId>
  388. <version>${checker.qual.version}</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.awaitility</groupId>
  392. <artifactId>awaitility</artifactId>
  393. <version>${awaitility.version}</version>
  394. <scope>test</scope>
  395. </dependency>
  396. <dependency>
  397. <groupId>commons-io</groupId>
  398. <artifactId>commons-io</artifactId>
  399. <version>${commons-io.version}</version>
  400. </dependency>
  401. <dependency>
  402. <groupId>io.protostuff</groupId>
  403. <artifactId>protostuff-core</artifactId>
  404. <version>${protostuff.version}</version>
  405. </dependency>
  406. <dependency>
  407. <groupId>io.protostuff</groupId>
  408. <artifactId>protostuff-runtime</artifactId>
  409. <version>${protostuff.version}</version>
  410. </dependency>
  411. <dependency>
  412. <groupId>com.google.auto.service</groupId>
  413. <artifactId>auto-service</artifactId>
  414. <version>${auto-service.version}</version>
  415. <scope>provided</scope>
  416. </dependency>
  417. <dependency>
  418. <groupId>org.apache.seatunnel</groupId>
  419. <artifactId>seatunnel-hadoop3-3.1.4-uber</artifactId>
  420. <version>${project.version}</version>
  421. <classifier>optional</classifier>
  422. <scope>provided</scope>
  423. </dependency>
  424. <!-- Imap storage dependency package -->
  425. <dependency>
  426. <groupId>org.apache.hadoop</groupId>
  427. <artifactId>hadoop-aliyun</artifactId>
  428. <version>${hadoop-aliyun.version}</version>
  429. <scope>provided</scope>
  430. <exclusions>
  431. <exclusion>
  432. <groupId>net.minidev</groupId>
  433. <artifactId>json-smart</artifactId>
  434. </exclusion>
  435. </exclusions>
  436. </dependency>
  437. <dependency>
  438. <groupId>net.minidev</groupId>
  439. <artifactId>json-smart</artifactId>
  440. <version>${json-smart.version}</version>
  441. </dependency>
  442. <dependency>
  443. <groupId>org.apache.hadoop</groupId>
  444. <artifactId>hadoop-aws</artifactId>
  445. <version>${hadoop-aws.version}</version>
  446. <scope>provided</scope>
  447. </dependency>
  448. <dependency>
  449. <groupId>io.netty</groupId>
  450. <artifactId>netty-buffer</artifactId>
  451. <version>${netty-buffer.version}</version>
  452. </dependency>
  453. </dependencies>
  454. </dependencyManagement>
  455. <dependencies>
  456. <dependency>
  457. <groupId>com.google.auto.service</groupId>
  458. <artifactId>auto-service</artifactId>
  459. <version>${auto-service.version}</version>
  460. <scope>provided</scope>
  461. </dependency>
  462. <dependency>
  463. <groupId>org.projectlombok</groupId>
  464. <artifactId>lombok</artifactId>
  465. </dependency>
  466. <!-- ***************** slf4j & provider & bridges start ***************** -->
  467. <dependency>
  468. <groupId>org.slf4j</groupId>
  469. <artifactId>slf4j-api</artifactId>
  470. </dependency>
  471. <dependency>
  472. <groupId>org.apache.logging.log4j</groupId>
  473. <artifactId>log4j-slf4j-impl</artifactId>
  474. </dependency>
  475. <dependency>
  476. <groupId>org.apache.logging.log4j</groupId>
  477. <artifactId>log4j-api</artifactId>
  478. </dependency>
  479. <dependency>
  480. <groupId>org.apache.logging.log4j</groupId>
  481. <artifactId>log4j-core</artifactId>
  482. </dependency>
  483. <dependency>
  484. <groupId>org.slf4j</groupId>
  485. <artifactId>jcl-over-slf4j</artifactId>
  486. </dependency>
  487. <dependency>
  488. <groupId>org.apache.logging.log4j</groupId>
  489. <artifactId>log4j-1.2-api</artifactId>
  490. </dependency>
  491. <!-- ***************** slf4j & provider & bridges end ***************** -->
  492. <dependency>
  493. <groupId>org.junit.jupiter</groupId>
  494. <artifactId>junit-jupiter-engine</artifactId>
  495. <scope>test</scope>
  496. </dependency>
  497. <dependency>
  498. <groupId>org.junit.jupiter</groupId>
  499. <artifactId>junit-jupiter-params</artifactId>
  500. <scope>test</scope>
  501. </dependency>
  502. </dependencies>
  503. <build>
  504. <finalName>${project.artifactId}-${project.version}-${scala.version}</finalName>
  505. <pluginManagement>
  506. <plugins>
  507. <!-- java/scala compiler (Start) -->
  508. <plugin>
  509. <groupId>org.apache.maven.plugins</groupId>
  510. <artifactId>maven-compiler-plugin</artifactId>
  511. <version>${maven-compiler-plugin.version}</version>
  512. <configuration>
  513. <source>${maven.compiler.source}</source>
  514. <target>${maven.compiler.target}</target>
  515. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  516. </configuration>
  517. </plugin>
  518. <plugin>
  519. <groupId>org.apache.maven.plugins</groupId>
  520. <artifactId>maven-surefire-plugin</artifactId>
  521. <version>${maven-surefire-plugin.version}</version>
  522. <configuration>
  523. <skip>${skipUT}</skip>
  524. <systemPropertyVariables>
  525. <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
  526. </systemPropertyVariables>
  527. <excludes>
  528. <exclude>**/*IT.java</exclude>
  529. </excludes>
  530. <classpathDependencyExcludes>
  531. <!--
  532. The logger provider & bridges declared under 'provided' scope should be explicitly excluded from testing as below.
  533. -->
  534. <classpathDependencyExclude>org.slf4j:slf4j-jdk14</classpathDependencyExclude>
  535. <classpathDependencyExclude>org.slf4j:slf4j-jcl</classpathDependencyExclude>
  536. <classpathDependencyExclude>org.slf4j:slf4j-nop</classpathDependencyExclude>
  537. <classpathDependencyExclude>org.slf4j:slf4j-simple</classpathDependencyExclude>
  538. <classpathDependencyExclude>org.slf4j:slf4j-reload4j</classpathDependencyExclude>
  539. <classpathDependencyExclude>org.slf4j:slf4j-log4j12</classpathDependencyExclude>
  540. <classpathDependencyExclude>org.slf4j:log4j-over-slf4j</classpathDependencyExclude>
  541. <classpathDependencyExclude>commons-logging:commons-logging</classpathDependencyExclude>
  542. <classpathDependencyExclude>log4j:log4j</classpathDependencyExclude>
  543. <classpathDependencyExclude>ch.qos.logback:logback-classic</classpathDependencyExclude>
  544. <classpathDependencyExclude>ch.qos.logback:logback-core</classpathDependencyExclude>
  545. <classpathDependencyExclude>org.apache.logging.log4j:log4j-to-slf4j</classpathDependencyExclude>
  546. </classpathDependencyExcludes>
  547. </configuration>
  548. </plugin>
  549. <plugin>
  550. <groupId>org.apache.maven.plugins</groupId>
  551. <artifactId>maven-failsafe-plugin</artifactId>
  552. <version>${maven-failsafe-plugin.version}</version>
  553. <configuration>
  554. <skip>${skipIT}</skip>
  555. </configuration>
  556. <executions>
  557. <execution>
  558. <goals>
  559. <goal>integration-test</goal>
  560. <goal>verify</goal>
  561. </goals>
  562. </execution>
  563. </executions>
  564. </plugin>
  565. <plugin>
  566. <groupId>io.fabric8</groupId>
  567. <artifactId>docker-maven-plugin</artifactId>
  568. <version>${docker-maven-plugin.version}</version>
  569. </plugin>
  570. <!-- shade -->
  571. <plugin>
  572. <groupId>org.apache.maven.plugins</groupId>
  573. <artifactId>maven-shade-plugin</artifactId>
  574. <version>${maven-shade-plugin.version}</version>
  575. <configuration>
  576. <shadedArtifactAttached>false</shadedArtifactAttached>
  577. <createDependencyReducedPom>true</createDependencyReducedPom>
  578. <!-- Make sure the transitive dependencies are written to the generated pom under <dependencies> -->
  579. <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
  580. <artifactSet>
  581. <excludes>
  582. <exclude>org.slf4j:*</exclude>
  583. <exclude>ch.qos.logback:*</exclude>
  584. <exclude>log4j:*</exclude>
  585. <exclude>org.apache.logging.log4j:*</exclude>
  586. <exclude>commons-logging:*</exclude>
  587. </excludes>
  588. </artifactSet>
  589. <filters>
  590. <filter>
  591. <artifact>*:*</artifact>
  592. <excludes>
  593. <exclude>META-INF/*.SF</exclude>
  594. <exclude>META-INF/*.DSA</exclude>
  595. <exclude>META-INF/*.RSA</exclude>
  596. </excludes>
  597. </filter>
  598. </filters>
  599. </configuration>
  600. <executions>
  601. <execution>
  602. <goals>
  603. <goal>shade</goal>
  604. </goals>
  605. <phase>package</phase>
  606. <configuration>
  607. <transformers combine.children="append">
  608. <!-- The service transformer is needed to merge META-INF/services files -->
  609. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
  610. </transformers>
  611. </configuration>
  612. </execution>
  613. </executions>
  614. </plugin>
  615. <!-- assembly -->
  616. <plugin>
  617. <groupId>org.apache.maven.plugins</groupId>
  618. <artifactId>maven-assembly-plugin</artifactId>
  619. <version>${maven-assembly-plugin.version}</version>
  620. </plugin>
  621. <plugin>
  622. <groupId>org.apache.maven.plugins</groupId>
  623. <artifactId>maven-source-plugin</artifactId>
  624. <version>${maven-source-plugin.version}</version>
  625. <executions>
  626. <execution>
  627. <id>attach-sources</id>
  628. <goals>
  629. <goal>jar-no-fork</goal>
  630. </goals>
  631. </execution>
  632. </executions>
  633. </plugin>
  634. <plugin>
  635. <groupId>org.apache.maven.plugins</groupId>
  636. <artifactId>maven-javadoc-plugin</artifactId>
  637. <version>${maven-javadoc-plugin.version}</version>
  638. <configuration>
  639. <source>${maven.compiler.source}</source>
  640. <failOnError>false</failOnError>
  641. <aggregate>true</aggregate>
  642. <skip>${maven.javadoc.skip}</skip>
  643. <additionalparam>-Xdoclint:none</additionalparam>
  644. </configuration>
  645. <executions>
  646. <execution>
  647. <id>attach-javadocs</id>
  648. <goals>
  649. <goal>jar</goal>
  650. </goals>
  651. </execution>
  652. </executions>
  653. </plugin>
  654. <plugin>
  655. <groupId>org.codehaus.mojo</groupId>
  656. <artifactId>build-helper-maven-plugin</artifactId>
  657. <version>${maven-helper-plugin.version}</version>
  658. </plugin>
  659. <plugin>
  660. <groupId>org.codehaus.mojo</groupId>
  661. <artifactId>license-maven-plugin</artifactId>
  662. <version>${maven-license-maven-plugin}</version>
  663. <configuration>
  664. <outputDirectory>${project.basedir}/seatunnel-dist/target/</outputDirectory>
  665. <thirdPartyFilename>THIRD-PARTY.txt</thirdPartyFilename>
  666. <sortArtifactByName>false</sortArtifactByName>
  667. <useMissingFile>false</useMissingFile>
  668. <addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage>
  669. <socketTimeout>30000</socketTimeout>
  670. <connectTimeout>30000</connectTimeout>
  671. <connectionRequestTimeout>30000</connectionRequestTimeout>
  672. <excludedScopes>test,provided</excludedScopes>
  673. </configuration>
  674. </plugin>
  675. <!-- make sure that flatten runs after shaded -->
  676. <plugin>
  677. <groupId>org.codehaus.mojo</groupId>
  678. <artifactId>flatten-maven-plugin</artifactId>
  679. <version>${flatten-maven-plugin.version}</version>
  680. <configuration>
  681. <updatePomFile>true</updatePomFile>
  682. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  683. </configuration>
  684. <executions>
  685. <execution>
  686. <id>flatten</id>
  687. <goals>
  688. <goal>flatten</goal>
  689. </goals>
  690. <phase>process-resources</phase>
  691. </execution>
  692. <execution>
  693. <id>flatten.clean</id>
  694. <goals>
  695. <goal>clean</goal>
  696. </goals>
  697. <phase>clean</phase>
  698. </execution>
  699. </executions>
  700. </plugin>
  701. <plugin>
  702. <groupId>org.apache.maven.plugins</groupId>
  703. <artifactId>maven-dependency-plugin</artifactId>
  704. <version>${maven-dependency-plugin.version}</version>
  705. </plugin>
  706. </plugins>
  707. </pluginManagement>
  708. <plugins>
  709. <plugin>
  710. <groupId>org.apache.maven.plugins</groupId>
  711. <artifactId>maven-compiler-plugin</artifactId>
  712. <configuration>
  713. <encoding>UTF-8</encoding>
  714. </configuration>
  715. </plugin>
  716. <!-- <plugin>-->
  717. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  718. <!-- <artifactId>maven-release-plugin</artifactId>-->
  719. <!-- <configuration>-->
  720. <!-- <autoVersionSubmodules>true</autoVersionSubmodules>-->
  721. <!-- <tagNameFormat>@{project.version}</tagNameFormat>-->
  722. <!-- <tagBase>${project.version}</tagBase>-->
  723. <!-- </configuration>-->
  724. <!-- <dependencies>-->
  725. <!-- <dependency>-->
  726. <!-- <groupId>org.apache.maven.scm</groupId>-->
  727. <!-- <artifactId>maven-scm-provider-jgit</artifactId>-->
  728. <!-- <version>${maven-scm-provider-jgit.version}</version>-->
  729. <!-- </dependency>-->
  730. <!-- </dependencies>-->
  731. <!-- </plugin>-->
  732. <plugin>
  733. <groupId>org.apache.maven.plugins</groupId>
  734. <artifactId>maven-surefire-plugin</artifactId>
  735. </plugin>
  736. <plugin>
  737. <groupId>org.apache.maven.plugins</groupId>
  738. <artifactId>maven-failsafe-plugin</artifactId>
  739. </plugin>
  740. <plugin>
  741. <groupId>org.codehaus.mojo</groupId>
  742. <artifactId>license-maven-plugin</artifactId>
  743. </plugin>
  744. <plugin>
  745. <groupId>org.codehaus.mojo</groupId>
  746. <artifactId>flatten-maven-plugin</artifactId>
  747. </plugin>
  748. <plugin>
  749. <groupId>com.diffplug.spotless</groupId>
  750. <artifactId>spotless-maven-plugin</artifactId>
  751. <version>${spotless.version}</version>
  752. <configuration>
  753. <java>
  754. <googleJavaFormat>
  755. <version>1.7</version>
  756. <style>AOSP</style>
  757. </googleJavaFormat>
  758. <removeUnusedImports />
  759. <formatAnnotations />
  760. <importOrder>
  761. <order>org.apache.seatunnel.shade,org.apache.seatunnel,org.apache,org,,javax,java,\#</order>
  762. </importOrder>
  763. <replaceRegex>
  764. <name>Remove wildcard imports</name>
  765. <searchRegex>import\s+(static)*\s*[^\*\s]+\*;(\r\n|\r|\n)</searchRegex>
  766. <replacement>$1</replacement>
  767. </replaceRegex>
  768. <replaceRegex>
  769. <name>Block powermock</name>
  770. <searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
  771. <replacement>$1</replacement>
  772. </replaceRegex>
  773. <replaceRegex>
  774. <name>Block jUnit4 imports</name>
  775. <searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
  776. <replacement>$1</replacement>
  777. </replaceRegex>
  778. </java>
  779. <pom>
  780. <sortPom>
  781. <encoding>UTF-8</encoding>
  782. <nrOfIndentSpace>4</nrOfIndentSpace>
  783. <keepBlankLines>true</keepBlankLines>
  784. <indentBlankLines>false</indentBlankLines>
  785. <indentSchemaLocation>true</indentSchemaLocation>
  786. <spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
  787. <sortModules>false</sortModules>
  788. <sortExecutions>false</sortExecutions>
  789. <predefinedSortOrder>custom_1</predefinedSortOrder>
  790. <expandEmptyElements>false</expandEmptyElements>
  791. <sortProperties>false</sortProperties>
  792. </sortPom>
  793. <replace>
  794. <name>Leading blank line</name>
  795. <search>project</search>
  796. <replacement>project</replacement>
  797. </replace>
  798. </pom>
  799. <markdown>
  800. <includes>
  801. <include>docs/**/*.md</include>
  802. </includes>
  803. <excludes>
  804. <exclude>**/.github/**/*.md</exclude>
  805. </excludes>
  806. <flexmark />
  807. </markdown>
  808. <upToDateChecking>
  809. <enabled>true</enabled>
  810. </upToDateChecking>
  811. </configuration>
  812. <executions>
  813. <execution>
  814. <goals>
  815. <goal>check</goal>
  816. </goals>
  817. <phase>compile</phase>
  818. </execution>
  819. </executions>
  820. </plugin>
  821. </plugins>
  822. </build>
  823. <url>https://github.com/apache/seatunnel</url>
  824. <licenses>
  825. <license>
  826. <name>The Apache License, Version 2.0</name>
  827. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  828. </license>
  829. </licenses>
  830. <mailingLists>
  831. <mailingList>
  832. <name>SeaTunnel Developer List</name>
  833. <subscribe>dev-subscribe@seatunnel.apache.org</subscribe>
  834. <unsubscribe>dev-unsubscribe@seatunnel.apache.org</unsubscribe>
  835. <post>dev@seatunnel.apache.org</post>
  836. </mailingList>
  837. <mailingList>
  838. <name>SeaTunnel Commits List</name>
  839. <subscribe>commits-subscribe@seatunnel.apache.org</subscribe>
  840. <unsubscribe>commits-unsubscribe@seatunnel.apache.org</unsubscribe>
  841. <post>commits@seatunnel.apache.org</post>
  842. </mailingList>
  843. </mailingLists>
  844. <scm>
  845. <connection>scm:git:https://github.com/apache/seatunnel.git</connection>
  846. <developerConnection>scm:git:https://github.com/apache/seatunnel.git</developerConnection>
  847. <url>https://github.com/apache/seatunnel</url>
  848. <tag>HEAD</tag>
  849. </scm>
  850. <issueManagement>
  851. <system>GitHub</system>
  852. <url>https://github.com/apache/seatunnel/issues</url>
  853. </issueManagement>
  854. <profiles>
  855. <profile>
  856. <id>release</id>
  857. <activation>
  858. <activeByDefault>true</activeByDefault>
  859. </activation>
  860. <modules>
  861. <module>seatunnel-dist</module>
  862. </modules>
  863. </profile>
  864. <!-- The ci need build without seatunnel-dist modules, so we need add a no_dist profile -->
  865. <profile>
  866. <id>ci</id>
  867. <activation>
  868. <activeByDefault>false</activeByDefault>
  869. </activation>
  870. </profile>
  871. </profiles>
  872. <repositories>
  873. <repository>
  874. <id>alimaven</id>
  875. <name>aliyun maven</name>
  876. <url>https://maven.aliyun.com/repository/public/</url>
  877. <snapshots>
  878. <enabled>false</enabled>
  879. </snapshots>
  880. </repository>
  881. <repository>
  882. <id>platomix-release</id>
  883. <name>NexusReleases</name>
  884. <url>http://windata.platomix.net/nexus/repository/maven-public/</url>
  885. </repository>
  886. </repositories>
  887. </project>