pom.xml 5.1 KB

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