From 4f91b224ccf76105e61e3d47434846ca4b75c95d Mon Sep 17 00:00:00 2001 From: Ches Martin Date: Mon, 9 Mar 2020 23:22:35 +0700 Subject: [PATCH] v0.3 backport: Remove unused ingestion deps (#521) * Make dependency:analyze run clean on datatypes-java * Remove stale dependencies from ingestion Unused according to `mvn -pl ingestion dependency:analyze`, and tests. We had a recent bump of hibernate-validator with a CVE fix (#421) that I was looking to backport, and it turns out it's not used anymore anyway. --- datatypes/java/pom.xml | 38 +++++++++++++++++++++++++++++++++ ingestion/pom.xml | 48 ------------------------------------------ pom.xml | 19 +++++++++++++++++ 3 files changed, 57 insertions(+), 48 deletions(-) diff --git a/datatypes/java/pom.xml b/datatypes/java/pom.xml index a6dfa8e345..415d204293 100644 --- a/datatypes/java/pom.xml +++ b/datatypes/java/pom.xml @@ -37,6 +37,17 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + + javax.annotation + + + + org.xolstice.maven.plugins protobuf-maven-plugin @@ -64,9 +75,36 @@ + + + com.google.guava + guava + + + com.google.protobuf + protobuf-java + + + + io.grpc + grpc-core + + + io.grpc + grpc-protobuf + io.grpc grpc-services + + io.grpc + grpc-stub + + + + javax.annotation + javax.annotation-api + diff --git a/ingestion/pom.xml b/ingestion/pom.xml index 35ca4eb698..b6f1ea371a 100644 --- a/ingestion/pom.xml +++ b/ingestion/pom.xml @@ -92,24 +92,6 @@ ${project.version} - - org.glassfish - javax.el - 3.0.0 - - - - javax.validation - validation-api - 2.0.1.Final - - - - org.hibernate.validator - hibernate-validator - 6.0.13.Final - - com.google.auto.value auto-value-annotations @@ -122,15 +104,6 @@ provided - - io.grpc - grpc-stub - - - - com.google.cloud - google-cloud-storage - com.google.cloud google-cloud-bigquery @@ -150,27 +123,6 @@ mockito-core - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - - - com.fasterxml.jackson.module - jackson-module-jsonSchema - - com.google.protobuf protobuf-java diff --git a/pom.xml b/pom.xml index 0e5ce843e2..affdab061a 100644 --- a/pom.xml +++ b/pom.xml @@ -141,6 +141,11 @@ + + io.grpc + grpc-core + ${grpcVersion} + io.grpc grpc-netty @@ -524,6 +529,20 @@ docker-maven-plugin 0.20.1 + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + + + org.apache.maven.shared + maven-dependency-analyzer + 1.11.1 + + + org.apache.maven.plugins maven-javadoc-plugin