From 2384e51a4d0801a992da518709cec27b13d2bb23 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Mon, 29 Feb 2016 17:18:04 -0800 Subject: [PATCH] Remove redundant checkstyle plugin definitions. The submodules do not need checkstyle plugin defined if they define the parent. --- appengine/appidentity/pom.xml | 21 +++++--------- appengine/helloworld/pom.xml | 20 ++++--------- bigquery/pom.xml | 15 ---------- datastore/pom.xml | 26 ++++++++--------- logging/pom.xml | 14 ---------- managed_vms/analytics/pom.xml | 24 ++++++---------- managed_vms/async-rest/pom.xml | 2 +- managed_vms/cloudsql/pom.xml | 24 ++++++---------- managed_vms/cloudstorage/pom.xml | 24 ++++++---------- managed_vms/datastore/pom.xml | 28 ++++++------------- managed_vms/disk/pom.xml | 24 ++++++---------- managed_vms/extending-runtime/pom.xml | 24 ++++++---------- managed_vms/helloworld/pom.xml | 23 ++++++--------- managed_vms/mailgun/pom.xml | 24 ++++++---------- managed_vms/memcache/pom.xml | 24 ++++++---------- managed_vms/sendgrid/pom.xml | 24 ++++++---------- managed_vms/sparkjava/pom.xml | 24 ++++++---------- managed_vms/static-files/pom.xml | 24 ++++++---------- managed_vms/twilio/pom.xml | 24 ++++++---------- monitoring/pom.xml | 14 ---------- pom.xml | 10 +++---- storage/json-api/pom.xml | 14 ---------- storage/storage-transfer/pom.xml | 16 +---------- storage/xml-api/cmdline-sample/pom.xml | 18 +----------- .../serviceaccount-appengine-sample/pom.xml | 16 +---------- taskqueue/deferred/pom.xml | 18 ++---------- unittests/pom.xml | 17 +---------- 27 files changed, 153 insertions(+), 383 deletions(-) diff --git a/appengine/appidentity/pom.xml b/appengine/appidentity/pom.xml index 6117fce98c9..033681074f4 100644 --- a/appengine/appidentity/pom.xml +++ b/appengine/appidentity/pom.xml @@ -22,6 +22,13 @@ Copyright 2015 Google Inc. All Rights Reserved. com.example.appengine appengine-appidentity + + com.google.cloud + doc-samples + 1.0.0 + ../.. + + 1.9.30 UTF-8 @@ -107,20 +114,6 @@ Copyright 2015 Google Inc. All Rights Reserved. gcloud-maven-plugin 2.0.9.90.v20151210 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - diff --git a/appengine/helloworld/pom.xml b/appengine/helloworld/pom.xml index b415238fcf3..03bf096d105 100644 --- a/appengine/helloworld/pom.xml +++ b/appengine/helloworld/pom.xml @@ -21,6 +21,12 @@ Copyright 2015 Google Inc. All Rights Reserved. 1.0-SNAPSHOT com.example.appengine appengine-helloworld + + com.google.cloud + doc-samples + 1.0.0 + ../.. + javax.servlet @@ -48,20 +54,6 @@ Copyright 2015 Google Inc. All Rights Reserved. appengine-maven-plugin 1.9.31 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - diff --git a/bigquery/pom.xml b/bigquery/pom.xml index 717de4e2d23..df882ba47f3 100644 --- a/bigquery/pom.xml +++ b/bigquery/pom.xml @@ -12,7 +12,6 @@ .. - googleapis @@ -81,20 +80,6 @@ 5 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../google-checks.xml - true - true - true - - - check - - diff --git a/datastore/pom.xml b/datastore/pom.xml index 7f51d55b23b..c17985e912f 100644 --- a/datastore/pom.xml +++ b/datastore/pom.xml @@ -6,6 +6,14 @@ com.google.datastore.snippets datastore-snippets 1.0 + + + doc-samples + com.google.cloud + 1.0.0 + .. + + jar Google Cloud Datastore Snippets @@ -21,6 +29,10 @@ junit junit 4.12 + + compile @@ -46,20 +58,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../google-checks.xml - true - true - true - - - check - - diff --git a/logging/pom.xml b/logging/pom.xml index f6d82b8dab0..eb803b986bb 100644 --- a/logging/pom.xml +++ b/logging/pom.xml @@ -55,20 +55,6 @@ 5 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../google-checks.xml - true - true - true - - - check - - diff --git a/managed_vms/analytics/pom.xml b/managed_vms/analytics/pom.xml index bf19a9dc655..bc0b76bd211 100644 --- a/managed_vms/analytics/pom.xml +++ b/managed_vms/analytics/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-analytics + managed-vms-analytics + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + org.apache.httpcomponents @@ -46,20 +54,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/async-rest/pom.xml b/managed_vms/async-rest/pom.xml index 7e5f50081cc..25d44b5775f 100644 --- a/managed_vms/async-rest/pom.xml +++ b/managed_vms/async-rest/pom.xml @@ -1,7 +1,7 @@ 4.0.0 com.google.appengine.demos - async-rest + managed-vms-async-rest 1.0.0-SNAPSHOT war Example Async Rest Webapp diff --git a/managed_vms/cloudsql/pom.xml b/managed_vms/cloudsql/pom.xml index 929e986a2fd..2fe8c74d4aa 100644 --- a/managed_vms/cloudsql/pom.xml +++ b/managed_vms/cloudsql/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-cloudsql + managed-vms-cloudsql + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -48,20 +56,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/cloudstorage/pom.xml b/managed_vms/cloudstorage/pom.xml index c8be0497dd7..0537fd90bf9 100644 --- a/managed_vms/cloudstorage/pom.xml +++ b/managed_vms/cloudstorage/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-cloudstorage + managed-vms-cloudstorage + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -48,20 +56,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/datastore/pom.xml b/managed_vms/datastore/pom.xml index 6cf3e31560a..dbca3eb4747 100644 --- a/managed_vms/datastore/pom.xml +++ b/managed_vms/datastore/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-datastore + managed-vms-datastore + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -48,24 +56,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - - - check - - - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/disk/pom.xml b/managed_vms/disk/pom.xml index c9ec443df00..89591b98c7d 100644 --- a/managed_vms/disk/pom.xml +++ b/managed_vms/disk/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-disk + managed-vms-disk + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -41,20 +49,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/extending-runtime/pom.xml b/managed_vms/extending-runtime/pom.xml index 3328036aaa3..10009b10732 100644 --- a/managed_vms/extending-runtime/pom.xml +++ b/managed_vms/extending-runtime/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-extendingruntime + managed-vms-extendingruntime + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -41,20 +49,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/helloworld/pom.xml b/managed_vms/helloworld/pom.xml index 635e10beb3c..364a4b2e8f8 100644 --- a/managed_vms/helloworld/pom.xml +++ b/managed_vms/helloworld/pom.xml @@ -6,7 +6,14 @@ war 1.0-SNAPSHOT com.example.managedvms - managedvms-helloworld-mvm + managed-vms-helloworld + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + @@ -46,20 +53,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/mailgun/pom.xml b/managed_vms/mailgun/pom.xml index 568fea1ab6e..10f4090955c 100644 --- a/managed_vms/mailgun/pom.xml +++ b/managed_vms/mailgun/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-mailgun + managed-vms-mailgun + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -58,20 +66,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/memcache/pom.xml b/managed_vms/memcache/pom.xml index 2d3375745a7..3f17cf75f9e 100644 --- a/managed_vms/memcache/pom.xml +++ b/managed_vms/memcache/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-memcache + managed-vms-memcache + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -48,20 +56,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/sendgrid/pom.xml b/managed_vms/sendgrid/pom.xml index 6a3c5e85cbd..bd76abe7d45 100644 --- a/managed_vms/sendgrid/pom.xml +++ b/managed_vms/sendgrid/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-sendgrid + managed-vms-sendgrid + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -48,20 +56,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/sparkjava/pom.xml b/managed_vms/sparkjava/pom.xml index 8218eb1be67..28b33811648 100644 --- a/managed_vms/sparkjava/pom.xml +++ b/managed_vms/sparkjava/pom.xml @@ -4,8 +4,16 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.google.appengine.sparkdemo - sparkdemo + managed-vms-spark 1.0 + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + com.sparkjava @@ -91,20 +99,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - diff --git a/managed_vms/static-files/pom.xml b/managed_vms/static-files/pom.xml index 44604d0c01f..4eb45cdf490 100644 --- a/managed_vms/static-files/pom.xml +++ b/managed_vms/static-files/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-staticfiles + managed-vms-staticfiles + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + javax.servlet @@ -41,20 +49,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/managed_vms/twilio/pom.xml b/managed_vms/twilio/pom.xml index 26fe22f51a1..9e1dd429f94 100644 --- a/managed_vms/twilio/pom.xml +++ b/managed_vms/twilio/pom.xml @@ -5,7 +5,15 @@ war 1.0-SNAPSHOT com.example.managedvms - appengine-twilio + managed-vms-twilio + + + doc-samples + com.google.cloud + 1.0.0 + ../.. + + @@ -48,20 +56,6 @@ 1.8 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - org.eclipse.jetty jetty-maven-plugin diff --git a/monitoring/pom.xml b/monitoring/pom.xml index d2a13eadee3..0e77711d9b5 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -63,20 +63,6 @@ 5 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../google-checks.xml - true - true - true - - - check - - diff --git a/pom.xml b/pom.xml index 1fac8254359..e426c9bfdf9 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,11 @@ appengine/appidentity appengine/helloworld + bigquery + datastore + logging managed_vms/analytics + managed_vms/async-rest managed_vms/cloudsql managed_vms/cloudstorage managed_vms/datastore @@ -35,13 +39,9 @@ managed_vms/mailgun managed_vms/memcache managed_vms/sendgrid + managed_vms/sparkjava managed_vms/static-files managed_vms/twilio - managed_vms/async-rest - managed_vms/sparkjava - bigquery - datastore - logging monitoring storage/json-api storage/storage-transfer diff --git a/storage/json-api/pom.xml b/storage/json-api/pom.xml index 704788cf97d..7feeca06b11 100644 --- a/storage/json-api/pom.xml +++ b/storage/json-api/pom.xml @@ -29,20 +29,6 @@ StorageSample - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - ${project.artifactId}-${project.version} diff --git a/storage/storage-transfer/pom.xml b/storage/storage-transfer/pom.xml index cc01eb9f346..a93abe75607 100644 --- a/storage/storage-transfer/pom.xml +++ b/storage/storage-transfer/pom.xml @@ -26,7 +26,7 @@ com.google.storagetransfer.samples - transfersample + storage-transfersample 0.1 jar @@ -70,20 +70,6 @@ 1.7 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - diff --git a/storage/xml-api/cmdline-sample/pom.xml b/storage/xml-api/cmdline-sample/pom.xml index 1b908eb46d9..fe0faaaf755 100644 --- a/storage/xml-api/cmdline-sample/pom.xml +++ b/storage/xml-api/cmdline-sample/pom.xml @@ -1,6 +1,5 @@ - doc-samples com.google.cloud @@ -8,28 +7,13 @@ ../../.. - 4.0.0 com.google.apis-samples - storage-cmd-line-sample + storage-xml-cmdline-sample 1 Example for the Google Cloud Storage XML API using Application Default Credentials. - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../../google-checks.xml - true - true - true - - - check - - org.codehaus.mojo exec-maven-plugin diff --git a/storage/xml-api/serviceaccount-appengine-sample/pom.xml b/storage/xml-api/serviceaccount-appengine-sample/pom.xml index 59f6cf2de0a..5ea1f5e755d 100644 --- a/storage/xml-api/serviceaccount-appengine-sample/pom.xml +++ b/storage/xml-api/serviceaccount-appengine-sample/pom.xml @@ -10,7 +10,7 @@ com.google.apis-samples - serviceaccounts-appengine-sample + storage-xml-serviceaccounts-appengine-sample 1.0.0 Example for Google Cloud Storage using OAuth 2.0 Service Accounts on Google App Engine war @@ -92,20 +92,6 @@ gae:deploy - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../../google-checks.xml - true - true - true - - - check - - diff --git a/taskqueue/deferred/pom.xml b/taskqueue/deferred/pom.xml index cba8ea154d1..acc3ed12838 100644 --- a/taskqueue/deferred/pom.xml +++ b/taskqueue/deferred/pom.xml @@ -13,14 +13,14 @@ com.google.cloud.taskqueue.samples - defer-sample + taskqueue-defer-sample 1.9.19 1 UTF-8 - + @@ -116,20 +116,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../../google-checks.xml - true - true - true - - - check - - diff --git a/unittests/pom.xml b/unittests/pom.xml index caabbe1516a..9ecc10cb9cb 100644 --- a/unittests/pom.xml +++ b/unittests/pom.xml @@ -12,9 +12,8 @@ .. - com.google.appengine.samples - appengine-local-testing-samples + unittests-appengine-local-testing-samples 1 @@ -100,20 +99,6 @@ appengine-maven-plugin ${appengine.target.version} - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17 - - ../google-checks.xml - true - true - true - - - check - -