From 7aab77d30360837d7b2962af99b98cc70c766538 Mon Sep 17 00:00:00 2001 From: Ches Martin Date: Mon, 9 Mar 2020 08:58:38 +0700 Subject: [PATCH] Remove unused ingestion deps (#520) * 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 56b5f37c00..ccc8ca0451 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.1.0.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 b8310aca91..269923315b 100644 --- a/pom.xml +++ b/pom.xml @@ -143,6 +143,11 @@ + + io.grpc + grpc-core + ${grpcVersion} + io.grpc grpc-netty @@ -546,6 +551,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