Skip to content
Permalink
Browse files
Use AutoService to generate service loader metadata
  • Loading branch information
Jeremy Daggett committed Dec 1, 2014
1 parent 3faafe0 commit f1985e5ba0335d3fae8381c07dfb0e04462fff5f
Showing 4 changed files with 9 additions and 19 deletions.
@@ -101,6 +101,11 @@
<artifactId>mockwebserver</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>auto-value</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

<profiles>
@@ -31,13 +31,15 @@
import org.jclouds.openstack.v2_0.ServiceType;
import org.jclouds.rest.internal.BaseHttpApiMetadata;

import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Module;

/**
* Implementation of {@link org.jclouds.apis.ApiMetadata} for Neutron 2.0 API
*
*/
@AutoService(ApiMetadata.class)
public class NeutronApiMetadata extends BaseHttpApiMetadata<NeutronApi> {

@Override
@@ -32,13 +32,15 @@
import org.jclouds.openstack.v2_0.ServiceType;
import org.jclouds.rest.internal.BaseHttpApiMetadata;

import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Module;

/**
* Implementation of {@link org.jclouds.apis.ApiMetadata} for Neutron 2.0 API
*/
@Deprecated
@AutoService(ApiMetadata.class)
public class NeutronApiMetadata extends BaseHttpApiMetadata<NeutronApi> {

@Override

This file was deleted.

0 comments on commit f1985e5

Please sign in to comment.