pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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-alert</artifactId>
  24. <version>dev-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>dolphinscheduler-alert-server</artifactId>
  27. <packaging>jar</packaging>
  28. <name>${project.artifactId}</name>
  29. <dependencies>
  30. <!-- dolphinscheduler -->
  31. <dependency>
  32. <groupId>org.apache.dolphinscheduler</groupId>
  33. <artifactId>dolphinscheduler-remote</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.dolphinscheduler</groupId>
  37. <artifactId>dolphinscheduler-meter</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.dolphinscheduler</groupId>
  41. <artifactId>dolphinscheduler-alert-all</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.dolphinscheduler</groupId>
  45. <artifactId>dolphinscheduler-dao</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.dolphinscheduler</groupId>
  49. <artifactId>dolphinscheduler-registry-all</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.google.guava</groupId>
  53. <artifactId>guava</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.codehaus.janino</groupId>
  57. <artifactId>janino</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-kubernetes-client-config</artifactId>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-jar-plugin</artifactId>
  69. <configuration>
  70. <excludes>
  71. <exclude>*.yaml</exclude>
  72. <exclude>*.xml</exclude>
  73. </excludes>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <artifactId>maven-assembly-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <id>dolphinscheduler-alert-server</id>
  81. <goals>
  82. <goal>single</goal>
  83. </goals>
  84. <phase>package</phase>
  85. <configuration>
  86. <finalName>alert-server</finalName>
  87. <descriptors>
  88. <descriptor>src/main/assembly/dolphinscheduler-alert-server.xml</descriptor>
  89. </descriptors>
  90. <appendAssemblyId>false</appendAssemblyId>
  91. </configuration>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. </plugins>
  96. </build>
  97. <profiles>
  98. <profile>
  99. <id>docker</id>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.codehaus.mojo</groupId>
  104. <artifactId>exec-maven-plugin</artifactId>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </profile>
  109. </profiles>
  110. </project>