pom.xml 6.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
18 19

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
20
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21
    <modelVersion>4.0.0</modelVersion>
22 23
    <parent>
        <groupId>org.apache.dolphinscheduler</groupId>
24
        <artifactId>dolphinscheduler-alert</artifactId>
A
Anonymous 已提交
25
        <version>dev-20220412-1028</version>
26
    </parent>
27 28 29
    <artifactId>dolphinscheduler-alert-server</artifactId>
    <name>${project.artifactId}</name>
    <packaging>jar</packaging>
30 31

    <dependencies>
32
        <!-- dolphinscheduler -->
33
        <dependency>
34 35
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-remote</artifactId>
36
        </dependency>
37 38 39 40
        <dependency>
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-meter</artifactId>
        </dependency>
41
        <dependency>
42 43
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-dingtalk</artifactId>
44 45
        </dependency>
        <dependency>
46 47
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-email</artifactId>
48 49
        </dependency>
        <dependency>
50 51
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-feishu</artifactId>
52 53
        </dependency>
        <dependency>
54 55
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-http</artifactId>
56 57
        </dependency>
        <dependency>
58 59
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-script</artifactId>
60 61
        </dependency>
        <dependency>
62 63
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-slack</artifactId>
64 65
        </dependency>
        <dependency>
66 67
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-wechat</artifactId>
68
        </dependency>
69 70 71 72
        <dependency>
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-pagerduty</artifactId>
        </dependency>
73 74 75 76
        <dependency>
            <groupId>org.apache.dolphinscheduler</groupId>
            <artifactId>dolphinscheduler-alert-webexteams</artifactId>
        </dependency>
77 78

        <dependency>
79
            <groupId>org.apache.dolphinscheduler</groupId>
80 81 82 83 84
            <artifactId>dolphinscheduler-alert-telegram</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.dolphinscheduler</groupId>
85
            <artifactId>dolphinscheduler-dao</artifactId>
86 87 88
        </dependency>

        <dependency>
89 90
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
91 92 93
        </dependency>

        <dependency>
94 95
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
96 97 98
        </dependency>

        <dependency>
99 100
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
101
        </dependency>
102 103 104 105 106
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
        </dependency>

107 108 109 110 111
        <dependency>
            <groupId>org.codehaus.janino</groupId>
            <artifactId>janino</artifactId>
        </dependency>

112 113 114 115 116 117 118 119 120 121 122
        <!--excel poi-->
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
        </dependency>

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
123 124

        <dependency>
125 126
            <groupId>org.mockito</groupId>
            <artifactId>mockito-inline</artifactId>
127 128
            <scope>test</scope>
        </dependency>
129 130
    </dependencies>

131 132 133 134 135 136 137 138 139 140 141 142
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>*.yaml</exclude>
                        <exclude>*.xml</exclude>
                    </excludes>
                </configuration>
            </plugin>
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>dolphinscheduler-alert-server</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <finalName>alert-server</finalName>
                            <descriptors>
                                <descriptor>src/main/assembly/dolphinscheduler-alert-server.xml</descriptor>
                            </descriptors>
                            <appendAssemblyId>false</appendAssemblyId>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
162 163
        </plugins>
    </build>
164 165 166 167 168 169 170 171 172 173 174 175 176 177

    <profiles>
        <profile>
            <id>docker</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
178
</project>