pom.xml 8.8 KB

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