From 080874541c235e9b868c140f310b42798fd56378 Mon Sep 17 00:00:00 2001 From: Georgy Bolyuba Date: Sun, 19 Oct 2014 23:38:32 +0200 Subject: [PATCH] Make 0.0.1 port (proxy only) for 2.9.2-01 version of nexus oss --- pom.xml | 4 ++-- .../plugin/npm/proxy/storage/NpmLocalStorageWrapper.java | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index ef65f1f..7383eff 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ org.sonatype.nexus.plugins nexus-plugins - 2.7.2-03 + 2.9.2-01 com.bolyuba.nexus.plugin nexus-npm-repository-plugin - 0.0.1 + 0.0.1-2.9.2-01 ${project.groupId}:${project.artifactId} nexus-plugin diff --git a/src/main/java/com/bolyuba/nexus/plugin/npm/proxy/storage/NpmLocalStorageWrapper.java b/src/main/java/com/bolyuba/nexus/plugin/npm/proxy/storage/NpmLocalStorageWrapper.java index 4c5fc4d..0b88c9c 100644 --- a/src/main/java/com/bolyuba/nexus/plugin/npm/proxy/storage/NpmLocalStorageWrapper.java +++ b/src/main/java/com/bolyuba/nexus/plugin/npm/proxy/storage/NpmLocalStorageWrapper.java @@ -3,7 +3,6 @@ import com.bolyuba.nexus.plugin.npm.proxy.NpmUtility; import org.sonatype.nexus.proxy.ItemNotFoundException; import org.sonatype.nexus.proxy.LocalStorageException; -import org.sonatype.nexus.proxy.ResourceStoreIteratorRequest; import org.sonatype.nexus.proxy.ResourceStoreRequest; import org.sonatype.nexus.proxy.item.AbstractStorageItem; import org.sonatype.nexus.proxy.item.StorageCollectionItem; @@ -118,11 +117,6 @@ public Collection listItems(Repository repository, ResourceStoreReq return realStorage.listItems(repository, request); } - @Override - public Iterator iterateItems(Repository repository, ResourceStoreIteratorRequest request) throws ItemNotFoundException, LocalStorageException { - return realStorage.iterateItems(repository, request); - } - @Override public URL getAbsoluteUrlFromBase(Repository repository, ResourceStoreRequest request) throws LocalStorageException { return realStorage.getAbsoluteUrlFromBase(repository, request);