pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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"
  22. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  23. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  24. <parent>
  25. <artifactId>dolphinscheduler</artifactId>
  26. <groupId>org.apache.dolphinscheduler</groupId>
  27. <version>dev-SNAPSHOT</version>
  28. </parent>
  29. <modelVersion>4.0.0</modelVersion>
  30. <artifactId>dolphinscheduler-worker</artifactId>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.dolphinscheduler</groupId>
  34. <artifactId>dolphinscheduler-service</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.dolphinscheduler</groupId>
  38. <artifactId>dolphinscheduler-spi</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.dolphinscheduler</groupId>
  42. <artifactId>dolphinscheduler-common</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.dolphinscheduler</groupId>
  46. <artifactId>dolphinscheduler-server</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.dolphinscheduler</groupId>
  50. <artifactId>dolphinscheduler-meter</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.dolphinscheduler</groupId>
  54. <artifactId>dolphinscheduler-registry-all</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.dolphinscheduler</groupId>
  58. <artifactId>dolphinscheduler-task-all</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter</artifactId>
  63. <exclusions>
  64. <exclusion>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-tomcat</artifactId>
  67. </exclusion>
  68. <exclusion>
  69. <artifactId>log4j-to-slf4j</artifactId>
  70. <groupId>org.apache.logging.log4j</groupId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.codehaus.janino</groupId>
  76. <artifactId>janino</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.amazonaws</groupId>
  80. <artifactId>aws-java-sdk-s3</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.mockito</groupId>
  84. <artifactId>mockito-core</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-test</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.dolphinscheduler</groupId>
  94. <artifactId>dolphinscheduler-log-server</artifactId>
  95. </dependency>
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-jar-plugin</artifactId>
  102. <configuration>
  103. <excludes>
  104. <exclude>*.yaml</exclude>
  105. <exclude>*.xml</exclude>
  106. </excludes>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <artifactId>maven-assembly-plugin</artifactId>
  111. <executions>
  112. <execution>
  113. <id>dolphinscheduler-worker-server</id>
  114. <phase>package</phase>
  115. <goals>
  116. <goal>single</goal>
  117. </goals>
  118. <configuration>
  119. <finalName>worker-server</finalName>
  120. <descriptors>
  121. <descriptor>src/main/assembly/dolphinscheduler-worker-server.xml</descriptor>
  122. </descriptors>
  123. <appendAssemblyId>false</appendAssemblyId>
  124. </configuration>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. <profiles>
  131. <profile>
  132. <id>docker</id>
  133. <build>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.codehaus.mojo</groupId>
  137. <artifactId>exec-maven-plugin</artifactId>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </profile>
  142. </profiles>
  143. </project>