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/c20afbed Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/c20afbed Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/c20afbed Branch: refs/heads/master Commit: c20afbeda64b2ef88fd82a5534d6c29274ace343 Parents: 6b8a813 Author: Andrew Gaul <[email protected]> Authored: Wed Aug 30 12:27:08 2017 -0700 Committer: Andrew Gaul <[email protected]> Committed: Wed Aug 30 12:27:08 2017 -0700 ---------------------------------------------------------------------- apis/openstack-neutron/pom.xml | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/c20afbed/apis/openstack-neutron/pom.xml ---------------------------------------------------------------------- diff --git a/apis/openstack-neutron/pom.xml b/apis/openstack-neutron/pom.xml index eff1d88..1446d98 100644 --- a/apis/openstack-neutron/pom.xml +++ b/apis/openstack-neutron/pom.xml @@ -110,6 +110,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>
