Browse Source

upgrade commons-email from 1.2 to 1.5 and remove mail-1.4.5.jar (#744)

* Remove useless dependencies and add jsp-2.1-6.1.14

* Determine if principal is empty in getJdbcUrl method

* fix bug  when register worker but create master node in zookeeper

* Remove useless dependencies such as hive-shims and log4j

* upgrade commons-email from 1.2 to 1.5 and remove mail-1.4.5.jar
lgcareer 5 years ago
parent
commit
8fbb11c1ee
2 changed files with 1 additions and 17 deletions
  1. 0 11
      escheduler-alert/pom.xml
  2. 1 6
      pom.xml

+ 0 - 11
escheduler-alert/pom.xml

@@ -24,17 +24,6 @@
             <artifactId>commons-email</artifactId>
         </dependency>
 
-        <dependency>
-            <groupId>javax.mail</groupId>
-            <artifactId>mail</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>javax.servlet</groupId>
-                    <artifactId>javax.servlet-api</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-
         <dependency>
             <groupId>org.freemarker</groupId>
             <artifactId>freemarker</artifactId>

+ 1 - 6
pom.xml

@@ -268,12 +268,7 @@
 			<dependency>
 				<groupId>org.apache.commons</groupId>
 				<artifactId>commons-email</artifactId>
-				<version>1.2</version>
-			</dependency>
-			<dependency>
-				<groupId>javax.mail</groupId>
-				<artifactId>mail</artifactId>
-				<version>1.4.5</version>
+				<version>1.5</version>
 			</dependency>
 
 			<!--excel poi-->