pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>org.apache.dolphinscheduler</groupId>
  23. <artifactId>dolphinscheduler</artifactId>
  24. <version>dev-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>dolphinscheduler-dist</artifactId>
  27. <name>${project.artifactId}</name>
  28. <properties>
  29. <maven.deploy.skip>true</maven.deploy.skip>
  30. </properties>
  31. <dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.dolphinscheduler</groupId>
  35. <artifactId>dolphinscheduler-bom</artifactId>
  36. <version>${project.version}</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. </dependencies>
  41. </dependencyManagement>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.apache.dolphinscheduler</groupId>
  45. <artifactId>dolphinscheduler-standalone-server</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.dolphinscheduler</groupId>
  49. <artifactId>dolphinscheduler-api</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.dolphinscheduler</groupId>
  53. <artifactId>dolphinscheduler-alert-server</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.dolphinscheduler</groupId>
  57. <artifactId>dolphinscheduler-data-quality</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.dolphinscheduler</groupId>
  61. <artifactId>dolphinscheduler-ui</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.dolphinscheduler</groupId>
  65. <artifactId>dolphinscheduler-tools</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.dolphinscheduler</groupId>
  69. <artifactId>dolphinscheduler-python</artifactId>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <finalName>apache-dolphinscheduler-${project.version}</finalName>
  74. </build>
  75. <profiles>
  76. <profile>
  77. <id>release</id>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <artifactId>maven-assembly-plugin</artifactId>
  82. <executions>
  83. <execution>
  84. <id>dolphinscheduler-bin</id>
  85. <goals>
  86. <goal>single</goal>
  87. </goals>
  88. <phase>package</phase>
  89. <configuration>
  90. <descriptors>
  91. <descriptor>src/main/assembly/dolphinscheduler-bin.xml</descriptor>
  92. </descriptors>
  93. <appendAssemblyId>true</appendAssemblyId>
  94. </configuration>
  95. </execution>
  96. <execution>
  97. <id>src</id>
  98. <goals>
  99. <goal>single</goal>
  100. </goals>
  101. <phase>package</phase>
  102. <configuration>
  103. <descriptors>
  104. <descriptor>src/main/assembly/dolphinscheduler-src.xml</descriptor>
  105. </descriptors>
  106. <appendAssemblyId>true</appendAssemblyId>
  107. </configuration>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. </profile>
  114. <profile>
  115. <id>python</id>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <artifactId>maven-assembly-plugin</artifactId>
  120. <executions>
  121. <execution>
  122. <id>python</id>
  123. <goals>
  124. <goal>single</goal>
  125. </goals>
  126. <phase>package</phase>
  127. <configuration>
  128. <!-- Make final directory with simple name `python`, and without any addtion information -->
  129. <finalName>python</finalName>
  130. <appendAssemblyId>false</appendAssemblyId>
  131. <descriptors>
  132. <descriptor>src/main/assembly/dolphinscheduler-python-api.xml</descriptor>
  133. </descriptors>
  134. </configuration>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. </plugins>
  139. </build>
  140. </profile>
  141. </profiles>
  142. </project>