You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
299 lines
11 KiB
299 lines
11 KiB
<?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. |
|
~ |
|
--> |
|
<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"> |
|
<parent> |
|
<artifactId>dolphinscheduler</artifactId> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<version>dev-SNAPSHOT</version> |
|
</parent> |
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<artifactId>dolphinscheduler-master</artifactId> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-common</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-meter</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-service</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-server</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-registry-all</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-scheduler-quartz</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-task-all</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-cache</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<artifactId>log4j-api</artifactId> |
|
<groupId>org.apache.logging.log4j</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>log4j-to-slf4j</artifactId> |
|
<groupId>org.apache.logging.log4j</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.codehaus.janino</groupId> |
|
<artifactId>janino</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.github.ben-manes.caffeine</groupId> |
|
<artifactId>caffeine</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.hadoop</groupId> |
|
<artifactId>hadoop-client</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-log4j12</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>servlet-api</artifactId> |
|
<groupId>javax.servlet</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.codehaus.jackson</groupId> |
|
<artifactId>jackson-jaxrs</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.codehaus.jackson</groupId> |
|
<artifactId>jackson-xc</artifactId> |
|
</exclusion> |
|
|
|
<exclusion> |
|
<groupId>org.fusesource.leveldbjni</groupId> |
|
<artifactId>leveldbjni-all</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.apache.zookeeper</groupId> |
|
<artifactId>zookeeper</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.apache.hadoop</groupId> |
|
<artifactId>hadoop-mapreduce-client-shuffle</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>jersey-client</artifactId> |
|
<groupId>com.sun.jersey</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>jersey-core</artifactId> |
|
<groupId>com.sun.jersey</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>jaxb-api</artifactId> |
|
<groupId>javax.xml.bind</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>log4j</artifactId> |
|
<groupId>log4j</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.hadoop</groupId> |
|
<artifactId>hadoop-common</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-log4j12</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>jdk.tools</groupId> |
|
<artifactId>jdk.tools</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>servlet-api</artifactId> |
|
<groupId>javax.servlet</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>javax.servlet</groupId> |
|
<artifactId>servlet-api</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>log4j</groupId> |
|
<artifactId>log4j</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.apache.curator</groupId> |
|
<artifactId>curator-client</artifactId> |
|
</exclusion> |
|
|
|
<exclusion> |
|
<groupId>commons-configuration</groupId> |
|
<artifactId>commons-configuration</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>io.grpc</groupId> |
|
<artifactId>grpc-protobuf</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>io.netty</groupId> |
|
<artifactId>netty</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.codehaus.jackson</groupId> |
|
<artifactId>jackson-core-asl</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.codehaus.jackson</groupId> |
|
<artifactId>jackson-mapper-asl</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>com.google.protobuf</groupId> |
|
<artifactId>jackson-mapper-asl</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>com.google.code.gson</groupId> |
|
<artifactId>gson</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>xmlenc</groupId> |
|
<artifactId>xmlenc</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>commons-net</groupId> |
|
<artifactId>commons-net</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.apache.avro</groupId> |
|
<artifactId>avro</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.apache.zookeeper</groupId> |
|
<artifactId>zookeeper</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>javax.servlet.jsp</groupId> |
|
<artifactId>jsp-api</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>jersey-json</artifactId> |
|
<groupId>com.sun.jersey</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>jersey-server</artifactId> |
|
<groupId>com.sun.jersey</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>jersey-core</artifactId> |
|
<groupId>com.sun.jersey</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.mockito</groupId> |
|
<artifactId>mockito-core</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-worker</artifactId> |
|
<scope>test</scope> <!-- master should never depend on worker, this is only for tests --> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.dolphinscheduler</groupId> |
|
<artifactId>dolphinscheduler-log-server</artifactId> |
|
</dependency> |
|
</dependencies> |
|
|
|
<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> |
|
|
|
<plugin> |
|
<artifactId>maven-assembly-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>dolphinscheduler-master-server</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
<configuration> |
|
<finalName>master-server</finalName> |
|
<descriptors> |
|
<descriptor>src/main/assembly/dolphinscheduler-master-server.xml</descriptor> |
|
</descriptors> |
|
<appendAssemblyId>false</appendAssemblyId> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<profiles> |
|
<profile> |
|
<id>docker</id> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>exec-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
</project>
|
|
|