pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  22. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  23. <modelVersion>4.0.0</modelVersion>
  24. <parent>
  25. <groupId>org.apache.dolphinscheduler</groupId>
  26. <artifactId>dolphinscheduler</artifactId>
  27. <version>dev-SNAPSHOT</version>
  28. </parent>
  29. <artifactId>dolphinscheduler-tools</artifactId>
  30. <dependencyManagement>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.dolphinscheduler</groupId>
  34. <artifactId>dolphinscheduler-bom</artifactId>
  35. <version>${project.version}</version>
  36. <type>pom</type>
  37. <scope>import</scope>
  38. </dependency>
  39. </dependencies>
  40. </dependencyManagement>
  41. <dependencies>
  42. <dependency>
  43. <groupId>org.apache.dolphinscheduler</groupId>
  44. <artifactId>dolphinscheduler-dao</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.dolphinscheduler</groupId>
  48. <artifactId>dolphinscheduler-storage-all</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.dolphinscheduler</groupId>
  52. <artifactId>dolphinscheduler-aop</artifactId>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>aopalliance</groupId>
  56. <artifactId>aopalliance</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>com.google.inject</groupId>
  60. <artifactId>guice</artifactId>
  61. </exclusion>
  62. <exclusion>
  63. <groupId>com.google.inject.extensions</groupId>
  64. <artifactId>guice-servlet</artifactId>
  65. </exclusion>
  66. <exclusion>
  67. <groupId>javax.inject</groupId>
  68. <artifactId>javax.inject</artifactId>
  69. </exclusion>
  70. <exclusion>
  71. <groupId>com.sun.xml.bind</groupId>
  72. <artifactId>jaxb-impl</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>com.sun.jersey.contribs</groupId>
  76. <artifactId>jersey-guice</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>com.sun.jersey</groupId>
  80. <artifactId>jersey-client</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>javax.ws.rs</groupId>
  84. <artifactId>jsr311-api</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>com.sun.jersey</groupId>
  88. <artifactId>jersey-core</artifactId>
  89. </exclusion>
  90. <exclusion>
  91. <groupId>com.sun.jersey</groupId>
  92. <artifactId>jersey-json</artifactId>
  93. </exclusion>
  94. <exclusion>
  95. <groupId>com.sun.jersey</groupId>
  96. <artifactId>jersey-server</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.codehaus.jackson</groupId>
  100. <artifactId>jackson-core-asl</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>org.codehaus.jackson</groupId>
  104. <artifactId>jackson-mapper-asl</artifactId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>org.codehaus.jackson</groupId>
  108. <artifactId>jackson-jaxrs</artifactId>
  109. </exclusion>
  110. <exclusion>
  111. <groupId>org.codehaus.jackson</groupId>
  112. <artifactId>jackson-xc</artifactId>
  113. </exclusion>
  114. </exclusions>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-test</artifactId>
  119. <scope>test</scope>
  120. </dependency>
  121. <!-- test dependencies on TestContainers -->
  122. <dependency>
  123. <groupId>org.testcontainers</groupId>
  124. <artifactId>mysql</artifactId>
  125. <scope>test</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>mysql</groupId>
  129. <artifactId>mysql-connector-java</artifactId>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.testcontainers</groupId>
  134. <artifactId>postgresql</artifactId>
  135. <scope>test</scope>
  136. </dependency>
  137. </dependencies>
  138. <build>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-jar-plugin</artifactId>
  143. <configuration>
  144. <excludes>
  145. <exclude>*.yaml</exclude>
  146. </excludes>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <artifactId>maven-assembly-plugin</artifactId>
  151. <executions>
  152. <execution>
  153. <id>dolphinscheduler-tools</id>
  154. <goals>
  155. <goal>single</goal>
  156. </goals>
  157. <phase>package</phase>
  158. <configuration>
  159. <finalName>tools</finalName>
  160. <descriptors>
  161. <descriptor>src/main/assembly/dolphinscheduler-tools.xml</descriptor>
  162. </descriptors>
  163. <appendAssemblyId>false</appendAssemblyId>
  164. </configuration>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. <profiles>
  171. <profile>
  172. <id>docker</id>
  173. <build>
  174. <plugins>
  175. <plugin>
  176. <groupId>org.codehaus.mojo</groupId>
  177. <artifactId>exec-maven-plugin</artifactId>
  178. </plugin>
  179. </plugins>
  180. </build>
  181. </profile>
  182. </profiles>
  183. </project>