pom.xml 6.4 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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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 22
    <parent>
        <groupId>org.apache.dolphinscheduler</groupId>
23
        <artifactId>dolphinscheduler-alert</artifactId>
24
        <version>3.0.1</version>
25
    </parent>
26 27 28
    <artifactId>dolphinscheduler-alert-server</artifactId>
    <name>${project.artifactId}</name>
    <packaging>jar</packaging>
29 30

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

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

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

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

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

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

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

111 112 113 114 115 116 117 118 119 120 121
        <!--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>
122 123

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

130 131 132 133 134 135 136 137 138 139 140 141
    <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>
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
            <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>
161 162
        </plugins>
    </build>
163 164 165 166 167 168 169 170 171 172 173 174 175 176

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