Ver código fonte

Remove useless dependencies such as hive-shims and log4j (#737)

* 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
lgcareer 5 anos atrás
pai
commit
f8f4556bdb
1 arquivos alterados com 28 adições e 0 exclusões
  1. 28 0
      escheduler-common/pom.xml

+ 28 - 0
escheduler-common/pom.xml

@@ -219,6 +219,10 @@
 					<artifactId>jaxb-api</artifactId>
 					<groupId>javax.xml.bind</groupId>
 				</exclusion>
+				<exclusion>
+					<artifactId>log4j</artifactId>
+					<groupId>log4j</groupId>
+				</exclusion>
 			</exclusions>
 		</dependency>
 
@@ -263,6 +267,10 @@
 					<artifactId>jersey-server</artifactId>
 					<groupId>com.sun.jersey</groupId>
 				</exclusion>
+				<exclusion>
+					<artifactId>log4j</artifactId>
+					<groupId>log4j</groupId>
+				</exclusion>
 			</exclusions>
 		</dependency>
 
@@ -491,6 +499,26 @@
 					<artifactId>antlr-runtime</artifactId>
 					<groupId>org.antlr</groupId>
 				</exclusion>
+				<exclusion>
+					<artifactId>hive-shims</artifactId>
+					<groupId>org.apache.hive</groupId>
+				</exclusion>
+				<exclusion>
+					<artifactId>jsp-api</artifactId>
+					<groupId>javax.servlet</groupId>
+				</exclusion>
+				<exclusion>
+					<artifactId>log4j-api</artifactId>
+					<groupId>org.apache.logging.log4j</groupId>
+				</exclusion>
+				<exclusion>
+					<artifactId>log4j-core</artifactId>
+					<groupId>org.apache.logging.log4j</groupId>
+				</exclusion>
+				<exclusion>
+					<artifactId>log4j-web</artifactId>
+					<groupId>org.apache.logging.log4j</groupId>
+				</exclusion>
 			</exclusions>
 		</dependency>