pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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>3.2.2-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>dolphinscheduler-standalone-server</artifactId>
  27. <dependencyManagement>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.apache.dolphinscheduler</groupId>
  31. <artifactId>dolphinscheduler-bom</artifactId>
  32. <version>${project.version}</version>
  33. <type>pom</type>
  34. <scope>import</scope>
  35. </dependency>
  36. </dependencies>
  37. </dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.apache.dolphinscheduler</groupId>
  41. <artifactId>dolphinscheduler-master</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.dolphinscheduler</groupId>
  45. <artifactId>dolphinscheduler-worker</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.curator</groupId>
  57. <artifactId>curator-test</artifactId>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.javassist</groupId>
  61. <artifactId>javassist</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.cloud</groupId>
  67. <artifactId>spring-cloud-starter-kubernetes-client-config</artifactId>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-jar-plugin</artifactId>
  75. <configuration>
  76. <excludes>
  77. <exclude>*.yaml</exclude>
  78. <exclude>*.xml</exclude>
  79. </excludes>
  80. </configuration>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-assembly-plugin</artifactId>
  84. <executions>
  85. <execution>
  86. <id>dolphinscheduler-standalone-server</id>
  87. <goals>
  88. <goal>single</goal>
  89. </goals>
  90. <phase>package</phase>
  91. <configuration>
  92. <finalName>standalone-server</finalName>
  93. <descriptors>
  94. <descriptor>src/main/assembly/dolphinscheduler-standalone-server.xml</descriptor>
  95. </descriptors>
  96. <appendAssemblyId>false</appendAssemblyId>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. <profiles>
  104. <profile>
  105. <id>docker</id>
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.codehaus.mojo</groupId>
  110. <artifactId>exec-maven-plugin</artifactId>
  111. </plugin>
  112. </plugins>
  113. </build>
  114. </profile>
  115. </profiles>
  116. </project>