From 70f9b82ddc348afe88f34c780998e53997b60799 Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Thu, 6 Dec 2018 12:36:31 -0500 Subject: [PATCH 1/3] Bigtable: fix emulator publishing Currently the emulator can't be used because it's parent pom is not published. THis PR removes the parent and copies the relevant bits into the emulator's pom Fixes #4187 --- .../google-cloud-bigtable-emulator/pom.xml | 32 ++++++++++++++++--- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 8e7354a148d4..6b1abb731e9a 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -2,13 +2,9 @@ - - google-cloud-testing - com.google.cloud - 0.72.1-alpha-SNAPSHOT - 4.0.0 + com.google.cloud google-cloud-bigtable-emulator 0.72.1-alpha-SNAPSHOT @@ -25,6 +21,18 @@ + + maven-compiler-plugin + 3.7.0 + + 1.7 + 1.7 + UTF-8 + -Xlint:unchecked + -Xlint:deprecation + true + + com.google.cloud google-cloud-gcloud-maven-plugin @@ -66,6 +74,18 @@ + + + + com.google.cloud + google-cloud-bom + 0.72.1-alpha-SNAPSHOT + pom + import + + + + @@ -91,6 +111,7 @@ junit junit + 4.12 compile true @@ -98,6 +119,7 @@ com.google.truth truth + 0.30 test From 7b27dbbd39aa4892ba30ae849918c7bb076fbaed Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Thu, 6 Dec 2018 12:44:43 -0500 Subject: [PATCH 2/3] Add a couple more bits from the parent pom --- .../google-cloud-bigtable-emulator/pom.xml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 6b1abb731e9a..5e171fbe1fc6 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -8,6 +8,10 @@ google-cloud-bigtable-emulator 0.72.1-alpha-SNAPSHOT + + google-cloud-testing + + sonatype-nexus-snapshots @@ -59,6 +63,22 @@ + + org.apache.maven.plugins + maven-site-plugin + 3.4 + + true + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.7 + + true + + org.sonatype.plugins nexus-staging-maven-plugin @@ -68,7 +88,6 @@ ossrh https://oss.sonatype.org/ false - false From 3bf5c8f225cef8c2cad813c3c5d16e34020141e9 Mon Sep 17 00:00:00 2001 From: Igor Bernstein Date: Thu, 6 Dec 2018 12:45:52 -0500 Subject: [PATCH 3/3] oops --- google-cloud-testing/google-cloud-bigtable-emulator/pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml index 5e171fbe1fc6..91e381513416 100644 --- a/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml +++ b/google-cloud-testing/google-cloud-bigtable-emulator/pom.xml @@ -67,17 +67,11 @@ org.apache.maven.plugins maven-site-plugin 3.4 - - true - org.apache.maven.plugins maven-deploy-plugin 2.7 - - true - org.sonatype.plugins