]> source.dussan.org Git - archiva.git/commitdiff
fix compilation of impls
authorOlivier Lamy <olamy@apache.org>
Mon, 25 Jun 2012 15:56:28 +0000 (15:56 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 25 Jun 2012 15:56:28 +0000 (15:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353620 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/mock/MockRepositorySessionFactory.java
archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/mock/MockRepositorySessionFactory.java
archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/java/org/apache/archiva/scheduler/indexing/mock/MockRepositorySessionFactory.java
archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/webtest/memory/TestMetadataRepository.java
archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
archiva-modules/plugins/maven2-repository/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java

index 9c2d2206145b9e76c1641182e8b9684c5db65e9e..dd48e5cdb382375b5b10cc1ab57fa7596ec7bce8 100644 (file)
@@ -189,4 +189,10 @@ public class TestMetadataRepository
     {
         throw new UnsupportedOperationException();
     }
+
+    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+        throws MetadataRepositoryException
+    {
+        throw new UnsupportedOperationException();
+    }
 }
index bd000d82273a00f2cc7c919f1d00d081ff95b5ff..93323f0cc8c6bff4ec0982d75a7584cc79041805 100644 (file)
@@ -71,6 +71,12 @@ public class MockRepositorySessionFactory
 
                     }
 
+                    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+                        throws MetadataRepositoryException
+                    {
+                        throw new UnsupportedOperationException();
+                    }
+
                     public void updateProject( String repositoryId, ProjectMetadata project )
                         throws MetadataRepositoryException
                     {
index 7754911db72f1f1a74b807b6721ea62afa56f072..a3a9f3585f41c79a3d3ebcb7c82ce9efd82729af 100644 (file)
@@ -194,4 +194,10 @@ public class TestMetadataRepository
     {
         throw new UnsupportedOperationException();
     }
+
+    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+        throws MetadataRepositoryException
+    {
+        throw new UnsupportedOperationException();
+    }
 }
index e411fc1c3691385d4be6ca0a48ca618ed018b244..c40dbd836e814001962c3595c82425e02bbf2dfd 100644 (file)
@@ -64,6 +64,12 @@ public class MockRepositorySessionFactory
                 return new MetadataRepository()
                 {
 
+                    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+                        throws MetadataRepositoryException
+                    {
+                        throw new UnsupportedOperationException();
+                    }
+
                     public void removeArtifact( String repositoryId, String namespace, String project,
                                                 String projectVersion, MetadataFacet metadataFacet )
                         throws MetadataRepositoryException
index de7a9de659cbf6ebfc9e29133e2aef79652f8000..afbf82183ff010c57532267cfdbc9f8da401207b 100644 (file)
@@ -64,6 +64,12 @@ public class MockRepositorySessionFactory
                 return new MetadataRepository()
                 {
 
+                    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+                        throws MetadataRepositoryException
+                    {
+                        throw new UnsupportedOperationException();
+                    }
+
                     public void removeArtifact( String repositoryId, String namespace, String project,
                                                 String projectVersion, MetadataFacet metadataFacet )
                         throws MetadataRepositoryException
index 4fabb5998fc72e9797309de85bf8612c70b0a85f..184a850934223d52fae90924d9545499a05aa032 100644 (file)
@@ -325,5 +325,11 @@ public class NewArtifactsRssFeedProcessorTest
         {
             return artifactsByDateRange;
         }
+
+        public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+            throws MetadataRepositoryException
+        {
+
+        }
     }
 }
index 91d7955d3bec711a5d709374a7c74b7728cbeafe..b98ee5e02f93542a849971f6dde56a98e97bef7b 100644 (file)
@@ -229,4 +229,10 @@ public class TestMetadataRepository
     {
         return artifacts;
     }
+
+    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+        throws MetadataRepositoryException
+    {
+        throw new UnsupportedOperationException();
+    }
 }
\ No newline at end of file
index 1b6b8c65b50d8a4a0a7836e7f853b2344d976966..fe01ff7537520bd68b42c69fc657072a91c8aaf8 100644 (file)
@@ -190,4 +190,10 @@ public class TestMetadataRepository
     {
         throw new UnsupportedOperationException();
     }
+
+    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+        throws MetadataRepositoryException
+    {
+        throw new UnsupportedOperationException();
+    }
 }
index 93217bcd88d49e21793c3df3d719c9fa21627fd6..5644640132fb93dee5a7d848bae049c9b22c7cc8 100644 (file)
@@ -205,4 +205,10 @@ public class TestMetadataRepository
     {
         throw new UnsupportedOperationException();
     }
+
+    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+        throws MetadataRepositoryException
+    {
+        throw new UnsupportedOperationException();
+    }
 }
\ No newline at end of file
index fbf246ffded3fd27373acb52655330bb28aebb53..562b89643fbf73eda15450e5b3a02578a02af428 100644 (file)
@@ -597,6 +597,13 @@ public class FileMetadataRepository
         return artifacts;
     }
 
+    public void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
+        throws MetadataRepositoryException
+    {
+        // FIXME implement this
+        throw new UnsupportedOperationException();
+    }
+
     public void removeArtifact( String repoId, String namespace, String project, String version, String id )
     {