aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2019-06-10 10:15:25 +0200
committerMartin Stockhammer <martin_s@apache.org>2019-06-10 10:15:25 +0200
commitdac24551d0b9e31b21d23db1b1bb96c2e3a657e1 (patch)
tree823b735b10013f672456b276667d503a54efbd22 /archiva-modules
parente77759901eb37b3aa8c0657a747e1a3fc8fede1b (diff)
downloadarchiva-dac24551d0b9e31b21d23db1b1bb96c2e3a657e1.tar.gz
archiva-dac24551d0b9e31b21d23db1b1bb96c2e3a657e1.zip
Changes for updated interfaces
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RepositoryProviderMock.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RepositoryProviderMock.java b/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RepositoryProviderMock.java
index 691d7eefa..cae8337b3 100644
--- a/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RepositoryProviderMock.java
+++ b/archiva-modules/archiva-maven/archiva-maven-proxy/src/test/java/org/apache/archiva/repository/mock/RepositoryProviderMock.java
@@ -21,10 +21,12 @@ package org.apache.archiva.repository.mock;
import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.archiva.configuration.RemoteRepositoryConfiguration;
+import org.apache.archiva.configuration.RepositoryGroupConfiguration;
import org.apache.archiva.repository.BasicManagedRepository;
import org.apache.archiva.repository.BasicRemoteRepository;
import org.apache.archiva.repository.EditableManagedRepository;
import org.apache.archiva.repository.EditableRemoteRepository;
+import org.apache.archiva.repository.EditableRepositoryGroup;
import org.apache.archiva.repository.ManagedRepository;
import org.apache.archiva.repository.PasswordCredentials;
import org.apache.archiva.repository.ReleaseScheme;
@@ -32,6 +34,7 @@ import org.apache.archiva.repository.RemoteRepository;
import org.apache.archiva.repository.RepositoryCredentials;
import org.apache.archiva.repository.RepositoryEvent;
import org.apache.archiva.repository.RepositoryException;
+import org.apache.archiva.repository.RepositoryGroup;
import org.apache.archiva.repository.RepositoryProvider;
import org.apache.archiva.repository.RepositoryType;
import org.apache.archiva.repository.features.ArtifactCleanupFeature;
@@ -81,6 +84,12 @@ public class RepositoryProviderMock implements RepositoryProvider
}
@Override
+ public EditableRepositoryGroup createRepositoryGroup( String id, String name )
+ {
+ return null;
+ }
+
+ @Override
public ManagedRepository createManagedInstance( ManagedRepositoryConfiguration configuration ) throws RepositoryException
{
BasicManagedRepository managedRepository = new BasicManagedRepository( configuration.getId( ), configuration.getName( ) , Paths.get("target/repositories"));
@@ -178,6 +187,18 @@ public class RepositoryProviderMock implements RepositoryProvider
}
@Override
+ public RepositoryGroup createRepositoryGroup( RepositoryGroupConfiguration configuration ) throws RepositoryException
+ {
+ return null;
+ }
+
+ @Override
+ public void updateRepositoryGroupInstance( EditableRepositoryGroup repositoryGroup, RepositoryGroupConfiguration configuration ) throws RepositoryException
+ {
+
+ }
+
+ @Override
public ManagedRepositoryConfiguration getManagedConfiguration( ManagedRepository managedRepository ) throws RepositoryException
{
ManagedRepositoryConfiguration configuration = new ManagedRepositoryConfiguration( );
@@ -203,6 +224,12 @@ public class RepositoryProviderMock implements RepositoryProvider
return configuration;
}
+ @Override
+ public RepositoryGroupConfiguration getRepositoryGroupConfiguration( RepositoryGroup repositoryGroup ) throws RepositoryException
+ {
+ return null;
+ }
+
@Override
public RemoteRepositoryConfiguration getRemoteConfiguration( RemoteRepository remoteRepository ) throws RepositoryException