pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>org.apache.dolphinscheduler</groupId>
  23. <artifactId>dolphinscheduler</artifactId>
  24. <version>2.0.0-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>dolphinscheduler-api</artifactId>
  27. <name>${project.artifactId}</name>
  28. <packaging>jar</packaging>
  29. <dependencies>
  30. <!-- dolphinscheduler -->
  31. <dependency>
  32. <groupId>org.apache.dolphinscheduler</groupId>
  33. <artifactId>dolphinscheduler-service</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.dolphinscheduler</groupId>
  37. <artifactId>dolphinscheduler-datasource-api</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <!--springboot-->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. <exclusions>
  45. <exclusion>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-tomcat</artifactId>
  48. </exclusion>
  49. <exclusion>
  50. <artifactId>log4j-to-slf4j</artifactId>
  51. <groupId>org.apache.logging.log4j</groupId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <!-- use jetty -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-jetty</artifactId>
  59. <exclusions>
  60. <exclusion>
  61. <groupId>org.eclipse.jetty.websocket</groupId>
  62. <artifactId>javax-websocket-server-impl</artifactId>
  63. </exclusion>
  64. <exclusion>
  65. <groupId>org.eclipse.jetty.websocket</groupId>
  66. <artifactId>websocket-server</artifactId>
  67. </exclusion>
  68. </exclusions>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-aop</artifactId>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-context</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-collections</groupId>
  86. <artifactId>commons-collections</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.quartz-scheduler</groupId>
  90. <artifactId>quartz</artifactId>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>com.mchange</groupId>
  94. <artifactId>c3p0</artifactId>
  95. </exclusion>
  96. <exclusion>
  97. <groupId>com.mchange</groupId>
  98. <artifactId>mchange-commons-java</artifactId>
  99. </exclusion>
  100. <exclusion>
  101. <groupId>com.zaxxer</groupId>
  102. <artifactId>HikariCP-java6</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.quartz-scheduler</groupId>
  108. <artifactId>quartz-jobs</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>io.springfox</groupId>
  112. <artifactId>springfox-swagger2</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>io.springfox</groupId>
  116. <artifactId>springfox-swagger-ui</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.swagger</groupId>
  120. <artifactId>swagger-models</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.github.xiaoymin</groupId>
  124. <artifactId>swagger-bootstrap-ui</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.curator</groupId>
  128. <artifactId>curator-framework</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.curator</groupId>
  132. <artifactId>curator-recipes</artifactId>
  133. <exclusions>
  134. <exclusion>
  135. <groupId>org.apache.zookeeper</groupId>
  136. <artifactId>zookeeper</artifactId>
  137. </exclusion>
  138. </exclusions>
  139. </dependency>
  140. <!-- hadoop -->
  141. <dependency>
  142. <groupId>org.apache.hadoop</groupId>
  143. <artifactId>hadoop-common</artifactId>
  144. <exclusions>
  145. <exclusion>
  146. <groupId>javax.servlet</groupId>
  147. <artifactId>servlet-api</artifactId>
  148. </exclusion>
  149. <exclusion>
  150. <groupId>org.apache.curator</groupId>
  151. <artifactId>curator-client</artifactId>
  152. </exclusion>
  153. </exclusions>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.hadoop</groupId>
  157. <artifactId>hadoop-client</artifactId>
  158. <exclusions>
  159. <exclusion>
  160. <groupId>org.slf4j</groupId>
  161. <artifactId>slf4j-log4j12</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.hadoop</groupId>
  167. <artifactId>hadoop-hdfs</artifactId>
  168. <exclusions>
  169. <exclusion>
  170. <artifactId>servlet-api</artifactId>
  171. <groupId>javax.servlet</groupId>
  172. </exclusion>
  173. </exclusions>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.hadoop</groupId>
  177. <artifactId>hadoop-yarn-common</artifactId>
  178. <exclusions>
  179. <exclusion>
  180. <artifactId>servlet-api</artifactId>
  181. <groupId>javax.servlet</groupId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.apache.hadoop</groupId>
  187. <artifactId>hadoop-aws</artifactId>
  188. </dependency>
  189. <!-- just for test -->
  190. <dependency>
  191. <groupId>org.springframework.boot</groupId>
  192. <artifactId>spring-boot-starter-test</artifactId>
  193. <scope>test</scope>
  194. <exclusions>
  195. <exclusion>
  196. <groupId>org.ow2.asm</groupId>
  197. <artifactId>asm</artifactId>
  198. </exclusion>
  199. <exclusion>
  200. <groupId>org.springframework.boot</groupId>
  201. <artifactId>spring-boot</artifactId>
  202. </exclusion>
  203. <exclusion>
  204. <groupId>org.springframework.boot</groupId>
  205. <artifactId>spring-boot-autoconfigure</artifactId>
  206. </exclusion>
  207. </exclusions>
  208. </dependency>
  209. <dependency>
  210. <groupId>junit</groupId>
  211. <artifactId>junit</artifactId>
  212. <scope>test</scope>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.powermock</groupId>
  216. <artifactId>powermock-module-junit4</artifactId>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.powermock</groupId>
  221. <artifactId>powermock-api-mockito2</artifactId>
  222. <scope>test</scope>
  223. <exclusions>
  224. <exclusion>
  225. <groupId>org.mockito</groupId>
  226. <artifactId>mockito-core</artifactId>
  227. </exclusion>
  228. </exclusions>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.jacoco</groupId>
  232. <artifactId>org.jacoco.agent</artifactId>
  233. <classifier>runtime</classifier>
  234. <scope>test</scope>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.curator</groupId>
  238. <artifactId>curator-test</artifactId>
  239. <version>${curator.test}</version>
  240. <exclusions>
  241. <exclusion>
  242. <groupId>org.javassist</groupId>
  243. <artifactId>javassist</artifactId>
  244. </exclusion>
  245. </exclusions>
  246. <scope>test</scope>
  247. </dependency>
  248. </dependencies>
  249. </project>