From bfd54049b78f2774a527162d0f601598f142ae25 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sat, 26 Aug 2017 19:23:56 -0700 Subject: [PATCH] Make auto service optional This makes dependencies consistent and eliminates warnings of the form: $M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found Reference: https://github.com/google/auto/tree/master/service#download --- apis/docker/pom.xml | 1 + apis/rackspace-cloudfiles/pom.xml | 1 + providers/digitalocean2/pom.xml | 1 + providers/google-cloud-storage/pom.xml | 1 + providers/google-compute-engine/pom.xml | 1 + providers/packet/pom.xml | 1 + providers/profitbricks/pom.xml | 1 + providers/rackspace-cloudfiles-uk/pom.xml | 1 + providers/rackspace-cloudfiles-us/pom.xml | 1 + 9 files changed, 9 insertions(+) diff --git a/apis/docker/pom.xml b/apis/docker/pom.xml index 1976b7dd36..ff7c6d260e 100644 --- a/apis/docker/pom.xml +++ b/apis/docker/pom.xml @@ -64,6 +64,7 @@ com.google.auto.service auto-service provided + true com.google.auto.value diff --git a/apis/rackspace-cloudfiles/pom.xml b/apis/rackspace-cloudfiles/pom.xml index aef8d92080..81361407e0 100644 --- a/apis/rackspace-cloudfiles/pom.xml +++ b/apis/rackspace-cloudfiles/pom.xml @@ -120,6 +120,7 @@ com.google.auto.service auto-service provided + true diff --git a/providers/digitalocean2/pom.xml b/providers/digitalocean2/pom.xml index b477e8ea82..fc81952e26 100644 --- a/providers/digitalocean2/pom.xml +++ b/providers/digitalocean2/pom.xml @@ -124,6 +124,7 @@ com.google.auto.service auto-service provided + true diff --git a/providers/google-cloud-storage/pom.xml b/providers/google-cloud-storage/pom.xml index f452e28ab5..ec2eb81e92 100644 --- a/providers/google-cloud-storage/pom.xml +++ b/providers/google-cloud-storage/pom.xml @@ -80,6 +80,7 @@ com.google.auto.service auto-service provided + true com.google.auto.value diff --git a/providers/google-compute-engine/pom.xml b/providers/google-compute-engine/pom.xml index a565fc52fa..e5d126ca0d 100644 --- a/providers/google-compute-engine/pom.xml +++ b/providers/google-compute-engine/pom.xml @@ -91,6 +91,7 @@ com.google.auto.service auto-service provided + true com.google.auto.value diff --git a/providers/packet/pom.xml b/providers/packet/pom.xml index 94e80f2889..7364fe8a91 100644 --- a/providers/packet/pom.xml +++ b/providers/packet/pom.xml @@ -50,6 +50,7 @@ com.google.auto.service auto-service provided + true com.google.auto.value diff --git a/providers/profitbricks/pom.xml b/providers/profitbricks/pom.xml index af7ad56da0..5b3aba62ba 100644 --- a/providers/profitbricks/pom.xml +++ b/providers/profitbricks/pom.xml @@ -60,6 +60,7 @@ com.google.auto.service auto-service provided + true com.google.auto.value diff --git a/providers/rackspace-cloudfiles-uk/pom.xml b/providers/rackspace-cloudfiles-uk/pom.xml index c862dc0191..ba1e609e1f 100644 --- a/providers/rackspace-cloudfiles-uk/pom.xml +++ b/providers/rackspace-cloudfiles-uk/pom.xml @@ -120,6 +120,7 @@ com.google.auto.service auto-service provided + true diff --git a/providers/rackspace-cloudfiles-us/pom.xml b/providers/rackspace-cloudfiles-us/pom.xml index eb52786a7d..a000a7dae5 100644 --- a/providers/rackspace-cloudfiles-us/pom.xml +++ b/providers/rackspace-cloudfiles-us/pom.xml @@ -120,6 +120,7 @@ com.google.auto.service auto-service provided + true