pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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-master</artifactId>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.dolphinscheduler</groupId>
  34. <artifactId>dolphinscheduler-common</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.dolphinscheduler</groupId>
  38. <artifactId>dolphinscheduler-meter</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.dolphinscheduler</groupId>
  42. <artifactId>dolphinscheduler-service</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-task-all</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-cache</artifactId>
  55. <exclusions>
  56. <exclusion>
  57. <artifactId>log4j-api</artifactId>
  58. <groupId>org.apache.logging.log4j</groupId>
  59. </exclusion>
  60. <exclusion>
  61. <artifactId>log4j-to-slf4j</artifactId>
  62. <groupId>org.apache.logging.log4j</groupId>
  63. </exclusion>
  64. </exclusions>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.codehaus.janino</groupId>
  68. <artifactId>janino</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.mockito</groupId>
  72. <artifactId>mockito-core</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.dolphinscheduler</groupId>
  82. <artifactId>dolphinscheduler-worker</artifactId>
  83. <scope>test</scope> <!-- master should never depend on worker, this is only for tests -->
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.dolphinscheduler</groupId>
  87. <artifactId>dolphinscheduler-log-server</artifactId>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-jar-plugin</artifactId>
  95. <configuration>
  96. <excludes>
  97. <exclude>*.yaml</exclude>
  98. <exclude>*.xml</exclude>
  99. </excludes>
  100. </configuration>
  101. </plugin>
  102. <plugin>
  103. <artifactId>maven-assembly-plugin</artifactId>
  104. <executions>
  105. <execution>
  106. <id>dolphinscheduler-master-server</id>
  107. <phase>package</phase>
  108. <goals>
  109. <goal>single</goal>
  110. </goals>
  111. <configuration>
  112. <finalName>master-server</finalName>
  113. <descriptors>
  114. <descriptor>src/main/assembly/dolphinscheduler-master-server.xml</descriptor>
  115. </descriptors>
  116. <appendAssemblyId>false</appendAssemblyId>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. <profiles>
  124. <profile>
  125. <id>docker</id>
  126. <build>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.codehaus.mojo</groupId>
  130. <artifactId>exec-maven-plugin</artifactId>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </profile>
  135. </profiles>
  136. </project>