From 6b0947b0c142691a16190b7d15da136936517e5a Mon Sep 17 00:00:00 2001 From: yangnuoyu <46553752+yangnuoyu@users.noreply.github.com> Date: Mon, 22 Jun 2020 16:22:49 -0700 Subject: [PATCH] feat(deps): adopt flatten plugin and google-cloud-shared-dependencies (#259) --- .gitignore | 2 ++ google-cloud-pubsub/pom.xml | 9 ++++++--- grpc-google-cloud-pubsub-v1/pom.xml | 9 +++++++++ pom.xml | 13 ++----------- proto-google-cloud-pubsub-v1/pom.xml | 9 +++++++++ 5 files changed, 28 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index be0ddcd12..dbde6a740 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ api_key # Python utilities *.pyc artman-genfiles + +.flattened-pom.xml diff --git a/google-cloud-pubsub/pom.xml b/google-cloud-pubsub/pom.xml index 747d66f87..63dffeb02 100644 --- a/google-cloud-pubsub/pom.xml +++ b/google-cloud-pubsub/pom.xml @@ -85,7 +85,6 @@ com.google.auto.value auto-value-annotations - ${autovalue.version} com.google.http-client @@ -163,11 +162,16 @@ com.google.auto.value auto-value - ${autovalue.version} + ${auto-value-annotation.version} + + + org.codehaus.mojo + flatten-maven-plugin + @@ -181,7 +185,6 @@ javax.annotation javax.annotation-api - ${javax.annotations.version} diff --git a/grpc-google-cloud-pubsub-v1/pom.xml b/grpc-google-cloud-pubsub-v1/pom.xml index c9b16e11f..3ef0b0cff 100644 --- a/grpc-google-cloud-pubsub-v1/pom.xml +++ b/grpc-google-cloud-pubsub-v1/pom.xml @@ -53,4 +53,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index f989230e3..bfac2b88c 100644 --- a/pom.xml +++ b/pom.xml @@ -63,10 +63,6 @@ UTF-8 github google-cloud-pubsub-parent - 4.2 - 1.3.2 - 2.4.0 - 1.7.3 @@ -95,15 +91,10 @@ 1.107.1-SNAPSHOT - - javax.annotation - javax.annotation-api - ${javax.annotations.version} - com.google.errorprone error_prone_annotations - ${errorprone.version} + 2.4.0 @@ -116,7 +107,7 @@ org.easymock easymock - ${easymock.version} + 4.2 test diff --git a/proto-google-cloud-pubsub-v1/pom.xml b/proto-google-cloud-pubsub-v1/pom.xml index 6ffdee4ce..82630be31 100644 --- a/proto-google-cloud-pubsub-v1/pom.xml +++ b/proto-google-cloud-pubsub-v1/pom.xml @@ -30,4 +30,13 @@ guava + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file