mirror of https://github.com/apache/archiva.git
my bad fix compilation
This commit is contained in:
parent
0bb58b73ab
commit
03601570ef
|
@ -144,9 +144,9 @@ public abstract class AbstractProxyTestCase
|
||||||
config =
|
config =
|
||||||
(MockConfiguration) applicationContext.getBean( "archivaConfiguration#mock", ArchivaConfiguration.class );
|
(MockConfiguration) applicationContext.getBean( "archivaConfiguration#mock", ArchivaConfiguration.class );
|
||||||
|
|
||||||
config.getConfiguration().setManagedRepositories( new ArrayList<>() );
|
config.getConfiguration().setManagedRepositories( new ArrayList<ManagedRepositoryConfiguration>() );
|
||||||
config.getConfiguration().setRemoteRepositories( new ArrayList<>() );
|
config.getConfiguration().setRemoteRepositories( new ArrayList<RemoteRepositoryConfiguration>() );
|
||||||
config.getConfiguration().setProxyConnectors( new ArrayList<>() );
|
config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>() );
|
||||||
|
|
||||||
// Setup source repository (using default layout)
|
// Setup source repository (using default layout)
|
||||||
String name = getClass().getSimpleName();
|
String name = getClass().getSimpleName();
|
||||||
|
|
|
@ -186,7 +186,7 @@ public class MetadataTransferTest
|
||||||
String requestedResource = "org/apache/maven/test/get-default-metadata-nonexistant/maven-metadata.xml";
|
String requestedResource = "org/apache/maven/test/get-default-metadata-nonexistant/maven-metadata.xml";
|
||||||
setupTestableManagedRepository( requestedResource );
|
setupTestableManagedRepository( requestedResource );
|
||||||
|
|
||||||
config.getConfiguration().setProxyConnectors( new ArrayList<>( ) );
|
config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( ) );
|
||||||
|
|
||||||
assertResourceNotFound( requestedResource );
|
assertResourceNotFound( requestedResource );
|
||||||
|
|
||||||
|
@ -206,7 +206,7 @@ public class MetadataTransferTest
|
||||||
String requestedResource = "org/apache/maven/test/get-project-metadata/maven-metadata.xml";
|
String requestedResource = "org/apache/maven/test/get-project-metadata/maven-metadata.xml";
|
||||||
setupTestableManagedRepository( requestedResource );
|
setupTestableManagedRepository( requestedResource );
|
||||||
|
|
||||||
config.getConfiguration().setProxyConnectors( new ArrayList<>( ) );
|
config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( ) );
|
||||||
|
|
||||||
assertResourceExists( requestedResource );
|
assertResourceExists( requestedResource );
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ public class MetadataTransferTest
|
||||||
setupTestableManagedRepository( requestedResource );
|
setupTestableManagedRepository( requestedResource );
|
||||||
|
|
||||||
|
|
||||||
config.getConfiguration().setProxyConnectors( new ArrayList<>( ) );
|
config.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( ) );
|
||||||
// Configure Connector (usually done within archiva.xml configuration)
|
// Configure Connector (usually done within archiva.xml configuration)
|
||||||
saveConnector( ID_DEFAULT_MANAGED, ID_PROXIED1, ChecksumPolicy.FIX, ReleasesPolicy.ALWAYS,
|
saveConnector( ID_DEFAULT_MANAGED, ID_PROXIED1, ChecksumPolicy.FIX, ReleasesPolicy.ALWAYS,
|
||||||
SnapshotsPolicy.ALWAYS, CachedFailuresPolicy.NO, false );
|
SnapshotsPolicy.ALWAYS, CachedFailuresPolicy.NO, false );
|
||||||
|
|
Loading…
Reference in New Issue