pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. ~
  20. -->
  21. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  22. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  23. <modelVersion>4.0.0</modelVersion>
  24. <parent>
  25. <groupId>org.apache.dolphinscheduler</groupId>
  26. <artifactId>dolphinscheduler</artifactId>
  27. <version>3.2.2-SNAPSHOT</version>
  28. </parent>
  29. <artifactId>dolphinscheduler-master</artifactId>
  30. <dependencyManagement>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.dolphinscheduler</groupId>
  34. <artifactId>dolphinscheduler-bom</artifactId>
  35. <version>${project.version}</version>
  36. <type>pom</type>
  37. <scope>import</scope>
  38. </dependency>
  39. </dependencies>
  40. </dependencyManagement>
  41. <dependencies>
  42. <dependency>
  43. <groupId>org.apache.dolphinscheduler</groupId>
  44. <artifactId>dolphinscheduler-common</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.dolphinscheduler</groupId>
  48. <artifactId>dolphinscheduler-meter</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.dolphinscheduler</groupId>
  52. <artifactId>dolphinscheduler-service</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.dolphinscheduler</groupId>
  56. <artifactId>dolphinscheduler-registry-all</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.dolphinscheduler</groupId>
  60. <artifactId>dolphinscheduler-scheduler-all</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.dolphinscheduler</groupId>
  64. <artifactId>dolphinscheduler-task-all-prune</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.dolphinscheduler</groupId>
  68. <artifactId>dolphinscheduler-extract-master</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.dolphinscheduler</groupId>
  72. <artifactId>dolphinscheduler-extract-worker</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-cache</artifactId>
  77. <exclusions>
  78. <exclusion>
  79. <groupId>org.apache.logging.log4j</groupId>
  80. <artifactId>log4j-api</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>org.apache.logging.log4j</groupId>
  84. <artifactId>log4j-to-slf4j</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.codehaus.janino</groupId>
  90. <artifactId>janino</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.github.ben-manes.caffeine</groupId>
  94. <artifactId>caffeine</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.hbase.thirdparty</groupId>
  98. <artifactId>hbase-noop-htrace</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.hadoop</groupId>
  102. <artifactId>hadoop-client</artifactId>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.slf4j</groupId>
  106. <artifactId>slf4j-log4j12</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>javax.servlet</groupId>
  110. <artifactId>servlet-api</artifactId>
  111. </exclusion>
  112. <exclusion>
  113. <groupId>org.codehaus.jackson</groupId>
  114. <artifactId>jackson-jaxrs</artifactId>
  115. </exclusion>
  116. <exclusion>
  117. <groupId>org.codehaus.jackson</groupId>
  118. <artifactId>jackson-xc</artifactId>
  119. </exclusion>
  120. <exclusion>
  121. <groupId>org.fusesource.leveldbjni</groupId>
  122. <artifactId>leveldbjni-all</artifactId>
  123. </exclusion>
  124. <exclusion>
  125. <groupId>org.apache.zookeeper</groupId>
  126. <artifactId>zookeeper</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>org.apache.hadoop</groupId>
  130. <artifactId>hadoop-mapreduce-client-shuffle</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>com.sun.jersey</groupId>
  134. <artifactId>jersey-client</artifactId>
  135. </exclusion>
  136. <exclusion>
  137. <groupId>com.sun.jersey</groupId>
  138. <artifactId>jersey-core</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <groupId>javax.xml.bind</groupId>
  142. <artifactId>jaxb-api</artifactId>
  143. </exclusion>
  144. <exclusion>
  145. <groupId>log4j</groupId>
  146. <artifactId>log4j</artifactId>
  147. </exclusion>
  148. <exclusion>
  149. <groupId>org.slf4j</groupId>
  150. <artifactId>slf4j-reload4j</artifactId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>com.google.protobuf</groupId>
  154. <artifactId>protobuf-java</artifactId>
  155. </exclusion>
  156. </exclusions>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.apache.hadoop</groupId>
  160. <artifactId>hadoop-common</artifactId>
  161. <exclusions>
  162. <exclusion>
  163. <groupId>org.slf4j</groupId>
  164. <artifactId>slf4j-log4j12</artifactId>
  165. </exclusion>
  166. <exclusion>
  167. <groupId>jdk.tools</groupId>
  168. <artifactId>jdk.tools</artifactId>
  169. </exclusion>
  170. <exclusion>
  171. <groupId>javax.servlet</groupId>
  172. <artifactId>servlet-api</artifactId>
  173. </exclusion>
  174. <exclusion>
  175. <groupId>javax.servlet</groupId>
  176. <artifactId>servlet-api</artifactId>
  177. </exclusion>
  178. <exclusion>
  179. <groupId>log4j</groupId>
  180. <artifactId>log4j</artifactId>
  181. </exclusion>
  182. <exclusion>
  183. <groupId>org.apache.curator</groupId>
  184. <artifactId>curator-client</artifactId>
  185. </exclusion>
  186. <exclusion>
  187. <groupId>commons-configuration</groupId>
  188. <artifactId>commons-configuration</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>io.grpc</groupId>
  192. <artifactId>grpc-protobuf</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>io.netty</groupId>
  196. <artifactId>netty</artifactId>
  197. </exclusion>
  198. <exclusion>
  199. <groupId>org.codehaus.jackson</groupId>
  200. <artifactId>jackson-core-asl</artifactId>
  201. </exclusion>
  202. <exclusion>
  203. <groupId>org.codehaus.jackson</groupId>
  204. <artifactId>jackson-mapper-asl</artifactId>
  205. </exclusion>
  206. <exclusion>
  207. <groupId>com.google.protobuf</groupId>
  208. <artifactId>jackson-mapper-asl</artifactId>
  209. </exclusion>
  210. <exclusion>
  211. <groupId>com.google.code.gson</groupId>
  212. <artifactId>gson</artifactId>
  213. </exclusion>
  214. <exclusion>
  215. <groupId>xmlenc</groupId>
  216. <artifactId>xmlenc</artifactId>
  217. </exclusion>
  218. <exclusion>
  219. <groupId>commons-net</groupId>
  220. <artifactId>commons-net</artifactId>
  221. </exclusion>
  222. <exclusion>
  223. <groupId>org.apache.avro</groupId>
  224. <artifactId>avro</artifactId>
  225. </exclusion>
  226. <exclusion>
  227. <groupId>org.apache.zookeeper</groupId>
  228. <artifactId>zookeeper</artifactId>
  229. </exclusion>
  230. <exclusion>
  231. <groupId>javax.servlet.jsp</groupId>
  232. <artifactId>jsp-api</artifactId>
  233. </exclusion>
  234. <exclusion>
  235. <groupId>com.sun.jersey</groupId>
  236. <artifactId>jersey-json</artifactId>
  237. </exclusion>
  238. <exclusion>
  239. <groupId>com.sun.jersey</groupId>
  240. <artifactId>jersey-server</artifactId>
  241. </exclusion>
  242. <exclusion>
  243. <groupId>com.sun.jersey</groupId>
  244. <artifactId>jersey-core</artifactId>
  245. </exclusion>
  246. <exclusion>
  247. <groupId>org.slf4j</groupId>
  248. <artifactId>slf4j-reload4j</artifactId>
  249. </exclusion>
  250. <exclusion>
  251. <groupId>com.google.protobuf</groupId>
  252. <artifactId>protobuf-java</artifactId>
  253. </exclusion>
  254. </exclusions>
  255. </dependency>
  256. <dependency>
  257. <groupId>com.amazonaws</groupId>
  258. <artifactId>aws-java-sdk-s3</artifactId>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.springframework.boot</groupId>
  262. <artifactId>spring-boot-starter-test</artifactId>
  263. <scope>test</scope>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.dolphinscheduler</groupId>
  267. <artifactId>dolphinscheduler-worker</artifactId>
  268. <scope>test</scope>
  269. <!-- master should never depend on worker, this is only for tests -->
  270. </dependency>
  271. <!-- TODO: Have to use spring-cloud-starter-kubernetes-fabric8-config after upgrading to Spring 3.x to unify kubernetes client (fabric8) -->
  272. <dependency>
  273. <groupId>org.springframework.cloud</groupId>
  274. <artifactId>spring-cloud-starter-kubernetes-client-config</artifactId>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.mysql</groupId>
  278. <artifactId>mysql-connector-j</artifactId>
  279. <version>8.0.33</version>
  280. <scope>compile</scope>
  281. </dependency>
  282. </dependencies>
  283. <build>
  284. <plugins>
  285. <plugin>
  286. <groupId>org.apache.maven.plugins</groupId>
  287. <artifactId>maven-jar-plugin</artifactId>
  288. <configuration>
  289. <excludes>
  290. <exclude>*.yaml</exclude>
  291. <exclude>*.xml</exclude>
  292. </excludes>
  293. </configuration>
  294. </plugin>
  295. <plugin>
  296. <artifactId>maven-assembly-plugin</artifactId>
  297. <executions>
  298. <execution>
  299. <id>dolphinscheduler-master-server</id>
  300. <goals>
  301. <goal>single</goal>
  302. </goals>
  303. <phase>package</phase>
  304. <configuration>
  305. <finalName>master-server</finalName>
  306. <descriptors>
  307. <descriptor>src/main/assembly/dolphinscheduler-master-server.xml</descriptor>
  308. </descriptors>
  309. <appendAssemblyId>false</appendAssemblyId>
  310. </configuration>
  311. </execution>
  312. </executions>
  313. </plugin>
  314. </plugins>
  315. </build>
  316. <!-- <profiles>-->
  317. <!-- <profile>-->
  318. <!-- <id>docker</id>-->
  319. <!-- <build>-->
  320. <!-- <plugins>-->
  321. <!-- <plugin>-->
  322. <!-- <groupId>org.codehaus.mojo</groupId>-->
  323. <!-- <artifactId>exec-maven-plugin</artifactId>-->
  324. <!-- </plugin>-->
  325. <!-- </plugins>-->
  326. <!-- </build>-->
  327. <!-- </profile>-->
  328. <!-- </profiles>-->
  329. </project>