diff --git a/google-cloud-nio/EnableAutoValue.txt b/google-cloud-nio/EnableAutoValue.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/google-cloud-nio/pom.xml b/google-cloud-nio/pom.xml
index 94b47dbf..8cc3169c 100644
--- a/google-cloud-nio/pom.xml
+++ b/google-cloud-nio/pom.xml
@@ -42,26 +42,14 @@
com.google.http-client
google-http-client
-
- javax.inject
- javax.inject
- 1
-
-
- com.google.auto.service
- auto-service
- 1.0-rc3
- true
- provided
-
com.google.auto.value
- auto-value
- provided
+ auto-value-annotations
- com.google.auto.value
- auto-value-annotations
+ javax.inject
+ javax.inject
+ 1
com.google.code.findbugs
@@ -86,7 +74,7 @@
org.mockito
mockito-core
- 3.7.0
+ 2.28.2
test
org.hamcrest
@@ -95,6 +83,7 @@
test
+
@@ -104,16 +93,6 @@
false
-
- maven-compiler-plugin
- 3.8.1
-
-
- 1.7
- UTF-8
- -Xlint:unchecked
-
-
org.apache.maven.plugins
@@ -173,17 +152,6 @@
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- com.google.auto.value:auto-value
- com.google.auto.service:auto-service
-
-
-
-
diff --git a/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java b/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
index 7d5e9c97..4f2953b3 100644
--- a/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
+++ b/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio/CloudStorageFileSystemProvider.java
@@ -21,7 +21,6 @@
import static com.google.common.base.Strings.isNullOrEmpty;
import com.google.api.gax.paging.Page;
-import com.google.auto.service.AutoService;
import com.google.cloud.storage.Acl;
import com.google.cloud.storage.Blob;
import com.google.cloud.storage.BlobId;
@@ -86,7 +85,6 @@
*/
@Singleton
@ThreadSafe
-@AutoService(FileSystemProvider.class)
public final class CloudStorageFileSystemProvider extends FileSystemProvider {
private Storage storage;
diff --git a/google-cloud-nio/src/main/resources/META-INF/services/java.nio.file.spi.FileSystemProvider b/google-cloud-nio/src/main/resources/META-INF/services/java.nio.file.spi.FileSystemProvider
new file mode 100644
index 00000000..cdacea41
--- /dev/null
+++ b/google-cloud-nio/src/main/resources/META-INF/services/java.nio.file.spi.FileSystemProvider
@@ -0,0 +1,14 @@
+# Copyright 2021 Google LLC
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
diff --git a/pom.xml b/pom.xml
index bf32751a..470993a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,16 +96,10 @@
com.google.auto.value
- auto-value
- provided
- ${auto-value-annotation.version}
-
-
- com.google.auto.value
auto-value-annotations
+ provided
${auto-value-annotation.version}
-
junit
junit
@@ -120,21 +114,7 @@
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
-
-
- com.google.auto.value:auto-value-annotations
-
-
-
-
-
-
+
google-cloud-nio
google-cloud-nio-retrofit
@@ -207,18 +187,6 @@
-
- maven-compiler-plugin
-
-
-
- com.google.auto.value
- auto-value
- ${auto-value.version}
-
-
-
-