pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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-dingtalk</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.dolphinscheduler</groupId>
  45. <artifactId>dolphinscheduler-alert-email</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.dolphinscheduler</groupId>
  49. <artifactId>dolphinscheduler-alert-feishu</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.dolphinscheduler</groupId>
  53. <artifactId>dolphinscheduler-alert-http</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.dolphinscheduler</groupId>
  57. <artifactId>dolphinscheduler-alert-script</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.dolphinscheduler</groupId>
  61. <artifactId>dolphinscheduler-alert-slack</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.dolphinscheduler</groupId>
  65. <artifactId>dolphinscheduler-alert-wechat</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.dolphinscheduler</groupId>
  69. <artifactId>dolphinscheduler-alert-pagerduty</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.dolphinscheduler</groupId>
  73. <artifactId>dolphinscheduler-alert-webexteams</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.dolphinscheduler</groupId>
  77. <artifactId>dolphinscheduler-alert-telegram</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.dolphinscheduler</groupId>
  81. <artifactId>dolphinscheduler-dao</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.google.guava</groupId>
  85. <artifactId>guava</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.codehaus.janino</groupId>
  89. <artifactId>janino</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.cloud</groupId>
  93. <artifactId>spring-cloud-starter-kubernetes-fabric8-config</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.mockito</groupId>
  97. <artifactId>mockito-core</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.mockito</groupId>
  102. <artifactId>mockito-inline</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. </dependencies>
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-jar-plugin</artifactId>
  111. <configuration>
  112. <excludes>
  113. <exclude>*.yaml</exclude>
  114. <exclude>*.xml</exclude>
  115. </excludes>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-assembly-plugin</artifactId>
  120. <executions>
  121. <execution>
  122. <id>dolphinscheduler-alert-server</id>
  123. <goals>
  124. <goal>single</goal>
  125. </goals>
  126. <phase>package</phase>
  127. <configuration>
  128. <finalName>alert-server</finalName>
  129. <descriptors>
  130. <descriptor>src/main/assembly/dolphinscheduler-alert-server.xml</descriptor>
  131. </descriptors>
  132. <appendAssemblyId>false</appendAssemblyId>
  133. </configuration>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <profiles>
  140. <profile>
  141. <id>docker</id>
  142. <build>
  143. <plugins>
  144. <plugin>
  145. <groupId>org.codehaus.mojo</groupId>
  146. <artifactId>exec-maven-plugin</artifactId>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </profile>
  151. </profiles>
  152. </project>