pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.0-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. </dependencies>
  82. <build>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-jar-plugin</artifactId>
  87. <configuration>
  88. <excludes>
  89. <exclude>*.yaml</exclude>
  90. <exclude>*.xml</exclude>
  91. </excludes>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <artifactId>maven-assembly-plugin</artifactId>
  96. <executions>
  97. <execution>
  98. <id>dolphinscheduler-master-server</id>
  99. <phase>package</phase>
  100. <goals>
  101. <goal>single</goal>
  102. </goals>
  103. <configuration>
  104. <finalName>master-server</finalName>
  105. <descriptors>
  106. <descriptor>src/main/assembly/dolphinscheduler-master-server.xml</descriptor>
  107. </descriptors>
  108. <appendAssemblyId>false</appendAssemblyId>
  109. </configuration>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. <profiles>
  116. <profile>
  117. <id>docker</id>
  118. <build>
  119. <plugins>
  120. <plugin>
  121. <groupId>org.codehaus.mojo</groupId>
  122. <artifactId>exec-maven-plugin</artifactId>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </profile>
  127. </profiles>
  128. </project>