@Override public boolean supports( RepositoryType type ) { return type.equals( RepositoryType.MAVEN ); }
protected UnsupportedRepositoryTypeException(RepositoryType type, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(MESSAGE+type.name(), cause, enableSuppression, writableStackTrace); } }
for ( ManagedRepositoryConfiguration repoConfig : managedRepoConfigs ) RepositoryType repositoryType = RepositoryType.valueOf( repoConfig.getType( ) ); if ( providerMap.containsKey( repositoryType ) )
cfg.setType(remoteRepository.getType().toString()); cfg.setId(remoteRepository.getId()); cfg.setName(remoteRepository.getName());
for ( RemoteRepositoryConfiguration repoConfig : remoteRepoConfigs ) RepositoryType repositoryType = RepositoryType.valueOf( repoConfig.getType( ) ); if ( providerMap.containsKey( repositoryType ) )
cfg.setType(managedRepository.getType().toString()); cfg.setId(managedRepository.getId()); cfg.setName(managedRepository.getName());
if (rRepo.getType().equals(RepositoryType.MAVEN)) { assert rRepo.getIndexingContext() != null; IndexingContext context = rRepo.getIndexingContext().getBaseContext(IndexingContext.class);
final RepositoryType repoType = RepositoryType.valueOf( managedRepositoryConfiguration.getType() ); ManagedRepository repo; if (managedRepositories.containsKey( id )) {
public UnsupportedRepositoryTypeException(RepositoryType type, Throwable cause) { super(MESSAGE+type.name(), cause); }
repositoryRegistry.getRepository( id ) ).filter( repo -> repo.getType().equals( RepositoryType.MAVEN ) ) .map( repo -> { try
final RepositoryType repositoryType = RepositoryType.valueOf( managedRepositoryConfiguration.getType() ); Configuration configuration = getArchivaConfiguration().getConfiguration(); ManagedRepository repo = managedRepositories.get(id);
public UnsupportedRepositoryTypeException(RepositoryType type) { super(MESSAGE+type.name()); }
final RepositoryType repositoryType = RepositoryType.valueOf( remoteRepositoryConfiguration.getType() ); Configuration configuration = getArchivaConfiguration().getConfiguration(); RemoteRepository repo = remoteRepositories.get(id);
final RepositoryType repoType = RepositoryType.valueOf( remoteRepositoryConfiguration.getType() ); RemoteRepository repo; if (remoteRepositories.containsKey( id )) {