pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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"
  22. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  23. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  24. <parent>
  25. <artifactId>dolphinscheduler</artifactId>
  26. <groupId>org.apache.dolphinscheduler</groupId>
  27. <version>dev-SNAPSHOT</version>
  28. </parent>
  29. <modelVersion>4.0.0</modelVersion>
  30. <artifactId>dolphinscheduler-master</artifactId>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.dolphinscheduler</groupId>
  34. <artifactId>dolphinscheduler-common</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.dolphinscheduler</groupId>
  38. <artifactId>dolphinscheduler-meter</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.dolphinscheduler</groupId>
  42. <artifactId>dolphinscheduler-service</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.dolphinscheduler</groupId>
  46. <artifactId>dolphinscheduler-server</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.dolphinscheduler</groupId>
  50. <artifactId>dolphinscheduler-registry-all</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.dolphinscheduler</groupId>
  54. <artifactId>dolphinscheduler-scheduler-quartz</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.dolphinscheduler</groupId>
  58. <artifactId>dolphinscheduler-task-all</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-cache</artifactId>
  63. <exclusions>
  64. <exclusion>
  65. <artifactId>log4j-api</artifactId>
  66. <groupId>org.apache.logging.log4j</groupId>
  67. </exclusion>
  68. <exclusion>
  69. <artifactId>log4j-to-slf4j</artifactId>
  70. <groupId>org.apache.logging.log4j</groupId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.codehaus.janino</groupId>
  76. <artifactId>janino</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.github.ben-manes.caffeine</groupId>
  80. <artifactId>caffeine</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.hadoop</groupId>
  84. <artifactId>hadoop-client</artifactId>
  85. <exclusions>
  86. <exclusion>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>slf4j-log4j12</artifactId>
  89. </exclusion>
  90. <exclusion>
  91. <artifactId>servlet-api</artifactId>
  92. <groupId>javax.servlet</groupId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>org.codehaus.jackson</groupId>
  96. <artifactId>jackson-jaxrs</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.codehaus.jackson</groupId>
  100. <artifactId>jackson-xc</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>org.fusesource.leveldbjni</groupId>
  104. <artifactId>leveldbjni-all</artifactId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>org.apache.zookeeper</groupId>
  108. <artifactId>zookeeper</artifactId>
  109. </exclusion>
  110. <exclusion>
  111. <groupId>org.apache.hadoop</groupId>
  112. <artifactId>hadoop-mapreduce-client-shuffle</artifactId>
  113. </exclusion>
  114. <exclusion>
  115. <artifactId>jersey-client</artifactId>
  116. <groupId>com.sun.jersey</groupId>
  117. </exclusion>
  118. <exclusion>
  119. <artifactId>jersey-core</artifactId>
  120. <groupId>com.sun.jersey</groupId>
  121. </exclusion>
  122. <exclusion>
  123. <artifactId>jaxb-api</artifactId>
  124. <groupId>javax.xml.bind</groupId>
  125. </exclusion>
  126. <exclusion>
  127. <artifactId>log4j</artifactId>
  128. <groupId>log4j</groupId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.hadoop</groupId>
  134. <artifactId>hadoop-common</artifactId>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>org.slf4j</groupId>
  138. <artifactId>slf4j-log4j12</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <groupId>jdk.tools</groupId>
  142. <artifactId>jdk.tools</artifactId>
  143. </exclusion>
  144. <exclusion>
  145. <artifactId>servlet-api</artifactId>
  146. <groupId>javax.servlet</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <groupId>javax.servlet</groupId>
  150. <artifactId>servlet-api</artifactId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>log4j</groupId>
  154. <artifactId>log4j</artifactId>
  155. </exclusion>
  156. <exclusion>
  157. <groupId>org.apache.curator</groupId>
  158. <artifactId>curator-client</artifactId>
  159. </exclusion>
  160. <exclusion>
  161. <groupId>commons-configuration</groupId>
  162. <artifactId>commons-configuration</artifactId>
  163. </exclusion>
  164. <exclusion>
  165. <groupId>io.grpc</groupId>
  166. <artifactId>grpc-protobuf</artifactId>
  167. </exclusion>
  168. <exclusion>
  169. <groupId>io.netty</groupId>
  170. <artifactId>netty</artifactId>
  171. </exclusion>
  172. <exclusion>
  173. <groupId>org.codehaus.jackson</groupId>
  174. <artifactId>jackson-core-asl</artifactId>
  175. </exclusion>
  176. <exclusion>
  177. <groupId>org.codehaus.jackson</groupId>
  178. <artifactId>jackson-mapper-asl</artifactId>
  179. </exclusion>
  180. <exclusion>
  181. <groupId>com.google.protobuf</groupId>
  182. <artifactId>jackson-mapper-asl</artifactId>
  183. </exclusion>
  184. <exclusion>
  185. <groupId>com.google.code.gson</groupId>
  186. <artifactId>gson</artifactId>
  187. </exclusion>
  188. <exclusion>
  189. <groupId>xmlenc</groupId>
  190. <artifactId>xmlenc</artifactId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>commons-net</groupId>
  194. <artifactId>commons-net</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>org.apache.avro</groupId>
  198. <artifactId>avro</artifactId>
  199. </exclusion>
  200. <exclusion>
  201. <groupId>org.apache.zookeeper</groupId>
  202. <artifactId>zookeeper</artifactId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>javax.servlet.jsp</groupId>
  206. <artifactId>jsp-api</artifactId>
  207. </exclusion>
  208. <exclusion>
  209. <artifactId>jersey-json</artifactId>
  210. <groupId>com.sun.jersey</groupId>
  211. </exclusion>
  212. <exclusion>
  213. <artifactId>jersey-server</artifactId>
  214. <groupId>com.sun.jersey</groupId>
  215. </exclusion>
  216. <exclusion>
  217. <artifactId>jersey-core</artifactId>
  218. <groupId>com.sun.jersey</groupId>
  219. </exclusion>
  220. </exclusions>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.mockito</groupId>
  224. <artifactId>mockito-core</artifactId>
  225. <scope>test</scope>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.springframework.boot</groupId>
  229. <artifactId>spring-boot-starter-test</artifactId>
  230. <scope>test</scope>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.dolphinscheduler</groupId>
  234. <artifactId>dolphinscheduler-worker</artifactId>
  235. <scope>test</scope> <!-- master should never depend on worker, this is only for tests -->
  236. </dependency>
  237. <dependency>
  238. <groupId>org.apache.dolphinscheduler</groupId>
  239. <artifactId>dolphinscheduler-log-server</artifactId>
  240. </dependency>
  241. </dependencies>
  242. <build>
  243. <plugins>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-jar-plugin</artifactId>
  247. <configuration>
  248. <excludes>
  249. <exclude>*.yaml</exclude>
  250. <exclude>*.xml</exclude>
  251. </excludes>
  252. </configuration>
  253. </plugin>
  254. <plugin>
  255. <artifactId>maven-assembly-plugin</artifactId>
  256. <executions>
  257. <execution>
  258. <id>dolphinscheduler-master-server</id>
  259. <phase>package</phase>
  260. <goals>
  261. <goal>single</goal>
  262. </goals>
  263. <configuration>
  264. <finalName>master-server</finalName>
  265. <descriptors>
  266. <descriptor>src/main/assembly/dolphinscheduler-master-server.xml</descriptor>
  267. </descriptors>
  268. <appendAssemblyId>false</appendAssemblyId>
  269. </configuration>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. </plugins>
  274. </build>
  275. <profiles>
  276. <profile>
  277. <id>docker</id>
  278. <build>
  279. <plugins>
  280. <plugin>
  281. <groupId>org.codehaus.mojo</groupId>
  282. <artifactId>exec-maven-plugin</artifactId>
  283. </plugin>
  284. </plugins>
  285. </build>
  286. </profile>
  287. </profiles>
  288. </project>