pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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>dev-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. <exclusions>
  35. <exclusion>
  36. <artifactId>javassist</artifactId>
  37. <groupId>org.javassist</groupId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.dolphinscheduler</groupId>
  43. <artifactId>dolphinscheduler-meter</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.dolphinscheduler</groupId>
  47. <artifactId>dolphinscheduler-datasource-all</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.dolphinscheduler</groupId>
  52. <artifactId>dolphinscheduler-task-all</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.dolphinscheduler</groupId>
  56. <artifactId>dolphinscheduler-ui</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.dolphinscheduler</groupId>
  60. <artifactId>dolphinscheduler-registry-zookeeper</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.codehaus.janino</groupId>
  64. <artifactId>janino</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.amazonaws</groupId>
  68. <artifactId>aws-java-sdk-s3</artifactId>
  69. </dependency>
  70. <!--springboot-->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-web</artifactId>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-tomcat</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <artifactId>log4j-to-slf4j</artifactId>
  81. <groupId>org.apache.logging.log4j</groupId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <!-- use jetty -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-jetty</artifactId>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.eclipse.jetty.websocket</groupId>
  92. <artifactId>javax-websocket-server-impl</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>org.eclipse.jetty.websocket</groupId>
  96. <artifactId>websocket-server</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-aop</artifactId>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter</artifactId>
  107. </exclusion>
  108. </exclusions>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-context</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.quartz-scheduler</groupId>
  116. <artifactId>quartz</artifactId>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>com.mchange</groupId>
  120. <artifactId>c3p0</artifactId>
  121. </exclusion>
  122. <exclusion>
  123. <groupId>com.mchange</groupId>
  124. <artifactId>mchange-commons-java</artifactId>
  125. </exclusion>
  126. <exclusion>
  127. <groupId>com.zaxxer</groupId>
  128. <artifactId>HikariCP-java7</artifactId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.springfox</groupId>
  134. <artifactId>springfox-swagger2</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>io.springfox</groupId>
  138. <artifactId>springfox-swagger-ui</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>io.swagger</groupId>
  142. <artifactId>swagger-models</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.github.xiaoymin</groupId>
  146. <artifactId>swagger-bootstrap-ui</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.hibernate.validator</groupId>
  150. <artifactId>hibernate-validator</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>io.fabric8</groupId>
  154. <artifactId>kubernetes-client</artifactId>
  155. </dependency>
  156. <!-- just for test -->
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-test</artifactId>
  160. <scope>test</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.curator</groupId>
  164. <artifactId>curator-test</artifactId>
  165. <version>${curator.test}</version>
  166. <exclusions>
  167. <exclusion>
  168. <groupId>org.javassist</groupId>
  169. <artifactId>javassist</artifactId>
  170. </exclusion>
  171. </exclusions>
  172. <scope>test</scope>
  173. </dependency>
  174. <!-- Python -->
  175. <dependency>
  176. <groupId>net.sf.py4j</groupId>
  177. <artifactId>py4j</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.h2database</groupId>
  181. <artifactId>h2</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. </dependencies>
  185. <build>
  186. <testResources>
  187. <testResource>
  188. <directory>${project.basedir}/../dolphinscheduler-dao/src/main/resources</directory>
  189. <includes>
  190. <include>sql/**</include>
  191. </includes>
  192. </testResource>
  193. <testResource>
  194. <directory>${project.basedir}/src/test/resources</directory>
  195. </testResource>
  196. </testResources>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-jar-plugin</artifactId>
  201. <configuration>
  202. <excludes>
  203. <exclude>*.yaml</exclude>
  204. <exclude>*.xml</exclude>
  205. </excludes>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <artifactId>maven-assembly-plugin</artifactId>
  210. <executions>
  211. <execution>
  212. <id>dolphinscheduler-api-server</id>
  213. <phase>package</phase>
  214. <goals>
  215. <goal>single</goal>
  216. </goals>
  217. <configuration>
  218. <finalName>api-server</finalName>
  219. <descriptors>
  220. <descriptor>src/main/assembly/dolphinscheduler-api-server.xml</descriptor>
  221. </descriptors>
  222. <appendAssemblyId>false</appendAssemblyId>
  223. </configuration>
  224. </execution>
  225. </executions>
  226. </plugin>
  227. </plugins>
  228. </build>
  229. <profiles>
  230. <profile>
  231. <id>docker</id>
  232. <build>
  233. <plugins>
  234. <plugin>
  235. <groupId>org.codehaus.mojo</groupId>
  236. <artifactId>exec-maven-plugin</artifactId>
  237. </plugin>
  238. </plugins>
  239. </build>
  240. </profile>
  241. </profiles>
  242. </project>