pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <parent>
  22. <artifactId>dolphinscheduler</artifactId>
  23. <groupId>org.apache.dolphinscheduler</groupId>
  24. <version>dev-SNAPSHOT</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>dolphinscheduler-standalone-server</artifactId>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.apache.dolphinscheduler</groupId>
  31. <artifactId>dolphinscheduler-master</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.dolphinscheduler</groupId>
  35. <artifactId>dolphinscheduler-worker</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.dolphinscheduler</groupId>
  39. <artifactId>dolphinscheduler-api</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.dolphinscheduler</groupId>
  43. <artifactId>dolphinscheduler-alert-server</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.dolphinscheduler</groupId>
  47. <artifactId>dolphinscheduler-log-server</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.h2database</groupId>
  51. <artifactId>h2</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.curator</groupId>
  55. <artifactId>curator-test</artifactId>
  56. <exclusions>
  57. <exclusion>
  58. <groupId>org.javassist</groupId>
  59. <artifactId>javassist</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. </dependencies>
  64. <dependencyManagement>
  65. <dependencies>
  66. <dependency>
  67. <groupId>org.apache.dolphinscheduler</groupId>
  68. <artifactId>dolphinscheduler-bom</artifactId>
  69. <version>${project.version}</version>
  70. <type>pom</type>
  71. <scope>import</scope>
  72. </dependency>
  73. </dependencies>
  74. </dependencyManagement>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-jar-plugin</artifactId>
  80. <configuration>
  81. <excludes>
  82. <exclude>*.yaml</exclude>
  83. <exclude>*.xml</exclude>
  84. </excludes>
  85. </configuration>
  86. </plugin>
  87. <plugin>
  88. <artifactId>maven-assembly-plugin</artifactId>
  89. <executions>
  90. <execution>
  91. <id>dolphinscheduler-standalone-server</id>
  92. <phase>package</phase>
  93. <goals>
  94. <goal>single</goal>
  95. </goals>
  96. <configuration>
  97. <finalName>standalone-server</finalName>
  98. <descriptors>
  99. <descriptor>src/main/assembly/dolphinscheduler-standalone-server.xml</descriptor>
  100. </descriptors>
  101. <appendAssemblyId>false</appendAssemblyId>
  102. </configuration>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. <profiles>
  109. <profile>
  110. <id>docker</id>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.codehaus.mojo</groupId>
  115. <artifactId>exec-maven-plugin</artifactId>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. </profile>
  120. </profiles>
  121. </project>