pom.xml 10 KB

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