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 Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/fd00c7db Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/fd00c7db Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/fd00c7db Branch: refs/heads/master Commit: fd00c7db7504a8067a2a972f7606e29ff067f51d Parents: 4e66420 Author: Andrew Gaul <[email protected]> Authored: Wed Aug 30 12:24:36 2017 -0700 Committer: Andrew Gaul <[email protected]> Committed: Wed Aug 30 12:26:29 2017 -0700 ---------------------------------------------------------------------- providers/azurecompute-arm/pom.xml | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/fd00c7db/providers/azurecompute-arm/pom.xml ---------------------------------------------------------------------- diff --git a/providers/azurecompute-arm/pom.xml b/providers/azurecompute-arm/pom.xml index 028e476..72ff3e2 100644 --- a/providers/azurecompute-arm/pom.xml +++ b/providers/azurecompute-arm/pom.xml @@ -52,6 +52,7 @@ <groupId>com.google.auto.service</groupId> <artifactId>auto-service</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>com.google.auto.value</groupId>
