pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  19. <parent>
  20. <artifactId>dolphinscheduler</artifactId>
  21. <groupId>org.apache.dolphinscheduler</groupId>
  22. <version>dev-SNAPSHOT</version>
  23. </parent>
  24. <modelVersion>4.0.0</modelVersion>
  25. <artifactId>dolphinscheduler-dist</artifactId>
  26. <name>${project.artifactId}</name>
  27. <properties>
  28. <maven.deploy.skip>true</maven.deploy.skip>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.dolphinscheduler</groupId>
  33. <artifactId>dolphinscheduler-server</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.dolphinscheduler</groupId>
  37. <artifactId>dolphinscheduler-standalone-server</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.dolphinscheduler</groupId>
  41. <artifactId>dolphinscheduler-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.dolphinscheduler</groupId>
  45. <artifactId>dolphinscheduler-alert-server</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.dolphinscheduler</groupId>
  49. <artifactId>dolphinscheduler-data-quality</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.dolphinscheduler</groupId>
  53. <artifactId>dolphinscheduler-ui</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.dolphinscheduler</groupId>
  57. <artifactId>dolphinscheduler-tools</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.dolphinscheduler</groupId>
  61. <artifactId>dolphinscheduler-python</artifactId>
  62. </dependency>
  63. </dependencies>
  64. <profiles>
  65. <profile>
  66. <id>release</id>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <artifactId>maven-assembly-plugin</artifactId>
  71. <executions>
  72. <execution>
  73. <id>dolphinscheduler-bin</id>
  74. <phase>package</phase>
  75. <goals>
  76. <goal>single</goal>
  77. </goals>
  78. <configuration>
  79. <descriptors>
  80. <descriptor>src/main/assembly/dolphinscheduler-bin.xml</descriptor>
  81. </descriptors>
  82. <appendAssemblyId>true</appendAssemblyId>
  83. </configuration>
  84. </execution>
  85. <execution>
  86. <id>src</id>
  87. <phase>package</phase>
  88. <goals>
  89. <goal>single</goal>
  90. </goals>
  91. <configuration>
  92. <descriptors>
  93. <descriptor>src/main/assembly/dolphinscheduler-src.xml</descriptor>
  94. </descriptors>
  95. <appendAssemblyId>true</appendAssemblyId>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. </profile>
  103. <profile>
  104. <id>python</id>
  105. <build>
  106. <plugins>
  107. <plugin>
  108. <artifactId>maven-assembly-plugin</artifactId>
  109. <executions>
  110. <execution>
  111. <id>python</id>
  112. <phase>package</phase>
  113. <goals>
  114. <goal>single</goal>
  115. </goals>
  116. <configuration>
  117. <!-- Make final directory with simple name `python`, and without any addtion information -->
  118. <finalName>python</finalName>
  119. <appendAssemblyId>false</appendAssemblyId>
  120. <descriptors>
  121. <descriptor>src/main/assembly/dolphinscheduler-python-api.xml</descriptor>
  122. </descriptors>
  123. </configuration>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </profile>
  130. </profiles>
  131. <build>
  132. <finalName>apache-dolphinscheduler-${project.version}</finalName>
  133. </build>
  134. </project>