You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by te...@apache.org on 2020/02/17 02:16:48 UTC

[incubator-dolphinscheduler] branch dev updated: solve jar conflict, delete servlet-api 2.5 jar (#1966)

This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 24f2297  solve jar conflict, delete servlet-api 2.5 jar (#1966)
24f2297 is described below

commit 24f22974a24189a97bcc8f8ee675b68f67b275fa
Author: dailidong <da...@gmail.com>
AuthorDate: Mon Feb 17 10:16:40 2020 +0800

    solve jar conflict, delete servlet-api 2.5 jar (#1966)
    
    * update README about DolphinScheduler
    
    * Update issue templates
    
    * update
    
    * regularize api pom xml
    update rpc maven compile to 1.8
    
    * regularize api pom xml
    
    * change commons.lang3.StringUtils to common.utils.StringUtils
    
    * update pom.xml
    
    * update
    
    * correct equals method
    
    * jasper-runtime is needed when api server start
    
    * jasper-runtime jar is needed when api server start
    
    * combine logback config of master/worker/alert/api server to one logback.xml
    
    * remove tomcat runtime jar
    
    * add UT
    
    * add license
    
    * remove jasper-runtime jar, not need anymore
    
    * sovle jar conflict, remove servlet-api 2.5 jar
    
    * remove servlet 2.5
    
    Co-authored-by: DS <es...@outlook.com>
---
 dolphinscheduler-api/pom.xml    | 29 ++++++++++++++++++++++++-----
 dolphinscheduler-common/pom.xml |  5 -----
 2 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/dolphinscheduler-api/pom.xml b/dolphinscheduler-api/pom.xml
index 6440805..4197173 100644
--- a/dolphinscheduler-api/pom.xml
+++ b/dolphinscheduler-api/pom.xml
@@ -146,6 +146,12 @@
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-common</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>javax.servlet</groupId>
+          <artifactId>servlet-api</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <dependency>
@@ -156,11 +162,23 @@
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-hdfs</artifactId>
+      <exclusions>
+        <exclusion>
+          <artifactId>servlet-api</artifactId>
+          <groupId>javax.servlet</groupId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-yarn-common</artifactId>
+      <exclusions>
+        <exclusion>
+          <artifactId>servlet-api</artifactId>
+          <groupId>javax.servlet</groupId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <dependency>
@@ -169,13 +187,14 @@
     </dependency>
 
     <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-    </dependency>
-
-    <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>jsp-2.1</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>servlet-api-2.5</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
 
     <!-- just for test -->
diff --git a/dolphinscheduler-common/pom.xml b/dolphinscheduler-common/pom.xml
index 2ef61d7..e7789f7 100644
--- a/dolphinscheduler-common/pom.xml
+++ b/dolphinscheduler-common/pom.xml
@@ -247,11 +247,6 @@
 		</dependency>
 
 		<dependency>
-			<groupId>javax.servlet</groupId>
-			<artifactId>javax.servlet-api</artifactId>
-		</dependency>
-
-		<dependency>
 			<groupId>org.apache.hadoop</groupId>
 			<artifactId>hadoop-hdfs</artifactId>
 			<exclusions>